mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
No need to dirty the PROJ_THROUGH when only the proj matrix is being
changed.
This commit is contained in:
parent
7e27bd9dc9
commit
357b133ff6
1 changed files with 1 additions and 1 deletions
|
@ -1334,7 +1334,7 @@ void GLES_GPU::ExecuteOp(u32 op, u32 diff) {
|
||||||
if (newVal != gstate.projMatrix[num]) {
|
if (newVal != gstate.projMatrix[num]) {
|
||||||
Flush();
|
Flush();
|
||||||
gstate.projMatrix[num] = newVal;
|
gstate.projMatrix[num] = newVal;
|
||||||
shaderManager_->DirtyUniform(DIRTY_PROJMATRIX | DIRTY_PROJTHROUGHMATRIX);
|
shaderManager_->DirtyUniform(DIRTY_PROJMATRIX);
|
||||||
}
|
}
|
||||||
num++;
|
num++;
|
||||||
gstate.projmtxnum = (GE_CMD_PROJMATRIXNUMBER << 24) | (num & 0xF);
|
gstate.projmtxnum = (GE_CMD_PROJMATRIXNUMBER << 24) | (num & 0xF);
|
||||||
|
|
Loading…
Add table
Reference in a new issue