mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
Small optimizations
This commit is contained in:
1 parent
efc35103e5
commit
84f20a1cad
4 files changed
+42
-21
No files matched your search
@@ -994,8 +994,6 @@ void GLES_GPU::ExecuteOpInternal(u32 op, u32 diff) {
|
||||
}
|
||||
break;
|
||||
|
||||
case GE_CMD_CLUTADDR:
|
||||
case GE_CMD_CLUTADDRUPPER:
|
||||
case GE_CMD_CLUTFORMAT:
|
||||
if (diff) {
|
||||
gstate_c.textureChanged = true;
|
||||
@@ -1003,6 +1001,11 @@ void GLES_GPU::ExecuteOpInternal(u32 op, u32 diff) {
|
||||
// This could be used to "dirty" textures with clut.
|
||||
break;
|
||||
|
||||
case GE_CMD_CLUTADDR:
|
||||
case GE_CMD_CLUTADDRUPPER:
|
||||
// Hm, LOADCLUT actually changes the CLUT so no need to dirty here.
|
||||
break;
|
||||
|
||||
case GE_CMD_LOADCLUT:
|
||||
gstate_c.textureChanged = true;
|
||||
textureCache_.LoadClut();
|
||||
|
||||
Reference in new issue
Block a user