Clear color should be black

This commit is contained in:
Dane Johnson 2021-04-21 17:36:40 -05:00
parent 21e30aff83
commit 84c4abbd94

View File

@ -33,7 +33,7 @@ Screen::Screen() {
glBindVertexArray(0);
// Setup frame buffers
framebuffer.clearColor = Vector3(1.0f, 0.0f, 0.0f);
framebuffer.clearColor = Vector3(0.0f, 0.0f, 0.0f);
framebuffer.clearFlags = GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT;
framebuffer.depthTest = true;
framebuffer.Bind();