Dirty on various framebuf state helpers.

Ideally we should cut down on using DisableState(), or restore afterward.
This commit is contained in:
Unknown W. Brackets 2017-03-19 12:14:43 -07:00 committed by Henrik Rydgård
parent 96ed8564ab
commit ca40282a10
3 changed files with 6 additions and 0 deletions

View file

@ -80,6 +80,8 @@ void FramebufferManagerGLES::DisableState() {
#endif
glstate.colorMask.set(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
glstate.stencilMask.set(0xFF);
gstate_c.Dirty(DIRTY_BLEND_STATE | DIRTY_RASTER_STATE | DIRTY_DEPTHSTENCIL_STATE | DIRTY_VIEWPORTSCISSOR_STATE);
}
void FramebufferManagerGLES::CompileDraw2DProgram() {