OpenGLHostDisplay: Set colour mask before drawing OSD

Fixes OSD getting messed up when the GS output is turned off.
This commit is contained in:
Stenzek 2023-01-25 21:31:40 +10:00 committed by refractionpcsx2
parent bfbcd7a949
commit c9d229e336
1 changed files with 1 additions and 0 deletions

View File

@ -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);