Skip to content
Browse files

Add ugly temporary hack to fix colour flickering when in pregame dialog.

  • Loading branch information...
1 parent 544a16e commit 05ae368a3e1793c0a83bfd2b716ffc3e44215013 @perim committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/ivis_opengl/screen.cpp
View
1 lib/ivis_opengl/screen.cpp
@@ -326,6 +326,7 @@ void screen_Display()
glBindTexture(GL_TEXTURE_2D, backDropTexture);
// Draw backdrop
+ glColor3f(1, 1, 1);
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glBindBuffer(GL_ARRAY_BUFFER, buffers[VBO_TEXCOORD]); glTexCoordPointer(2, GL_FLOAT, 0, NULL);

0 comments on commit 05ae368

Please sign in to comment.
Something went wrong with that request. Please try again.