Dirty on various framebuf state helpers.
Ideally we should cut down on using DisableState(), or restore afterward.
This commit is contained in:
parent
96ed8564ab
commit
ca40282a10
3 changed files with 6 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue