fix possible crash

This commit is contained in:
Arisotura
2019-05-25 19:52:56 +02:00
parent 956c2c5d86
commit 9ed1dda9ca
2 changed files with 18 additions and 21 deletions

View File

@ -384,7 +384,7 @@ void GLScreen_DrawScreen()
OpenGL_UseShaderProgram(GL_ScreenShaderAccel);
glBindFramebuffer(GL_FRAMEBUFFER, 0);
glClearColor(0, 1, 0, 1);
glClearColor(0, 0, 0, 1);
glClear(GL_COLOR_BUFFER_BIT);
int frontbuf = GPU::FrontBuffer;