mirror of https://github.com/PCSX2/pcsx2.git
OpenGLHostDisplay: Set colour mask before drawing OSD
Fixes OSD getting messed up when the GS output is turned off.
This commit is contained in:
parent
bfbcd7a949
commit
c9d229e336
|
@ -345,6 +345,7 @@ bool OpenGLHostDisplay::BeginPresent(bool frame_skip)
|
|||
|
||||
glDisable(GL_SCISSOR_TEST);
|
||||
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0);
|
||||
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
|
||||
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
glViewport(0, 0, m_window_info.surface_width, m_window_info.surface_height);
|
||||
|
|
Loading…
Reference in New Issue