No need to dirty the PROJ_THROUGH when only the proj matrix is being

changed.
This commit is contained in:
Henrik Rydgård 2013-10-30 14:44:31 +01:00
parent 7e27bd9dc9
commit 357b133ff6

View File

@ -1334,7 +1334,7 @@ void GLES_GPU::ExecuteOp(u32 op, u32 diff) {
if (newVal != gstate.projMatrix[num]) {
Flush();
gstate.projMatrix[num] = newVal;
shaderManager_->DirtyUniform(DIRTY_PROJMATRIX | DIRTY_PROJTHROUGHMATRIX);
shaderManager_->DirtyUniform(DIRTY_PROJMATRIX);
}
num++;
gstate.projmtxnum = (GE_CMD_PROJMATRIXNUMBER << 24) | (num & 0xF);