Skip to content

Commit

Permalink
Add ugly temporary hack to fix colour flickering when in pregame dialog.
Browse files Browse the repository at this point in the history
  • Loading branch information
perim committed Feb 16, 2013
1 parent 544a16e commit 05ae368
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ivis_opengl/screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 05ae368

Please sign in to comment.