summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/BPStructs.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2013-08-23 00:51:12 +1200
committerMatthew Parlane <parlane@gmail.com>2013-08-23 00:51:12 +1200
commitb6e054a2beef3236822e27d95dfe38a4ccee2eb1 (patch)
tree6f744593b14def9c2fbc7be9e509df5507835cc4 /Source/Core/VideoCommon/Src/BPStructs.cpp
parentf274b3b074fb8bb0477b0e9f4e88db0e08bf4f2c (diff)
parent41c25d0c90a2461c3e34bf9659dcf1da5e1e8580 (diff)
Merge branch 'master' into wii-network
Conflicts: Source/Core/Core/Core.vcxproj Source/Core/Core/Core.vcxproj.filters Source/Core/Core/Src/CoreParameter.cpp Source/Core/DolphinWX/Dolphin.vcxproj Source/Core/DolphinWX/Dolphin.vcxproj.filters
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