Skip to content

Commit

Permalink
imgui: restore opengl color after screen fade
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Jan 13, 2024
1 parent 2db56cb commit 119cb57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Quake/ig_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,9 @@ void IG_Update()
glVertex2f(0.0f, glheight);
glEnd();

glEnable(GL_TEXTURE_2D);
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
glDisable(GL_BLEND);
glEnable(GL_TEXTURE_2D);

GL_ClearBufferBindings();

Expand Down

0 comments on commit 119cb57

Please sign in to comment.