summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/BPStructs.cpp
diff options
context:
space:
mode:
authorRachel Bryk <RachelBryk@gmail.com>2013-08-15 09:00:04 -0400
committerRachel Bryk <RachelBryk@gmail.com>2013-08-15 09:00:04 -0400
commit6d67ea2fdabab5b4daff88409dcb746fab52b483 (patch)
treebec0234d1b07915570ca3296b109ab4eb2fd2868 /Source/Core/VideoCommon/Src/BPStructs.cpp
parentf51cb0b7eb9c0f261abd3f5d68707ba1f93e3888 (diff)
parentd16f089e88f63931d792cb4b2fca05747ed8c90a (diff)
Merge remote-tracking branch 'origin/master' into wiimote-netplay
Diffstat (limited to 'Source/Core/VideoCommon/Src/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/BPStructs.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/BPStructs.cpp b/Source/Core/VideoCommon/Src/BPStructs.cpp
index ce0346b523..00cecf0082 100644
--- a/Source/Core/VideoCommon/Src/BPStructs.cpp
+++ b/Source/Core/VideoCommon/Src/BPStructs.cpp
@@ -153,7 +153,10 @@ void BPWritten(const BPCmd& bp)
bpmem.genMode.numtexgens, bpmem.genMode.numcolchans,
bpmem.genMode.multisampling, bpmem.genMode.numtevstages+1, bpmem.genMode.cullmode,
bpmem.genMode.numindstages, bpmem.genMode.zfreeze);
- SetGenerationMode();
+
+ // Only call SetGenerationMode when cull mode changes.
+ if (bp.changes & 0xC000)
+ SetGenerationMode();
break;
}
case BPMEM_IND_MTXA: // Index Matrix Changed