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 authored and refractionpcsx2 committed 2023-01-25 12:08:43 +00:00
1 parent bfbcd7a949
commit c9d229e336
1 file changed
+1
+1
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);