Black clear color

This commit is contained in:
Dane Johnson
2021-01-22 20:12:15 -06:00
parent 1d97f6d855
commit fe65f7491b
2 changed files with 6 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ Screen::Screen() {
void Screen::Enable() {
glBindFramebuffer(GL_FRAMEBUFFER, framebuffer);
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glEnable(GL_DEPTH_TEST);
}