Skip to content

Commit

Permalink
Fix for ivis state desync, fixes menu colour bug noticed by vexed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Safety0ff committed Oct 17, 2010
1 parent 4ec0ea2 commit f46c873
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/ivis_opengl/screen.c
Expand Up @@ -418,9 +418,8 @@ void screen_Upload(const char *newBackDropBmp, BOOL preview)

// Make sure the current texture page is reloaded after we are finished
// Otherwise WZ will think it is still loaded and not load it again
pie_SetTexturePage(TEXPAGE_NONE);
pie_SetTexturePage(TEXPAGE_EXTERN);

glEnable(GL_TEXTURE_2D);
glBindTexture(GL_TEXTURE_2D, backDropTexture);
glColor3f(1, 1, 1);

Expand Down

0 comments on commit f46c873

Please sign in to comment.