diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-05-25 19:52:56 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2019-05-25 19:52:56 +0200 |
commit | 9ed1dda9ca18e571fc6613885ac944bbb938cd9a (patch) | |
tree | 352c6bba0a8217c27b23946883dcf66930975cea /src/libui_sdl | |
parent | 956c2c5d86a19e8aa5b51b95a4b5cd46f794df58 (diff) |
fix possible crash
Diffstat (limited to 'src/libui_sdl')
-rw-r--r-- | src/libui_sdl/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libui_sdl/main.cpp b/src/libui_sdl/main.cpp index f6ef397..874d8ff 100644 --- a/src/libui_sdl/main.cpp +++ b/src/libui_sdl/main.cpp @@ -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; |