Properly dirty the uniform in Execute_ViewportType

This commit is contained in:
Henrik Rydgard 2015-08-26 16:28:10 +02:00
parent 44ce0c8dee
commit 160980ee2e

View File

@ -1012,6 +1012,12 @@ void GLES_GPU::Execute_FramebufType(u32 op, u32 diff) {
void GLES_GPU::Execute_ViewportType(u32 op, u32 diff) {
gstate_c.framebufChanged = true;
gstate_c.textureChanged |= TEXCHANGE_PARAMSONLY;
switch (op >> 24) {
case GE_CMD_VIEWPORTZ1:
case GE_CMD_VIEWPORTZ2:
shaderManager_->DirtyUniform(DIRTY_DEPTHRANGE);
break;
}
}
void GLES_GPU::Execute_TexScaleU(u32 op, u32 diff) {