NormalizeVertices should not try to skin if we've already software-skinned.

This commit is contained in:
Henrik Rydgard committed 2013-11-14 14:34:47 +01:00
1 parent 9f750e6b83
commit 9521d0e0a6
1 file changed
+1 -1
+1 -1
View File
@@ -49,7 +49,7 @@ u32 TransformDrawEngine::NormalizeVertices(u8 *outPtr, u8 *bufPtr, const u8 *inP
};
// Let's have two separate loops, one for non skinning and one for skinning.
if ((vertType & GE_VTYPE_WEIGHT_MASK) != GE_VTYPE_WEIGHT_NONE) {
if (!g_Config.bSoftwareSkinning && (vertType & GE_VTYPE_WEIGHT_MASK) != GE_VTYPE_WEIGHT_NONE) {
int numBoneWeights = vertTypeGetNumBoneWeights(vertType);
for (int i = lowerBound; i <= upperBound; i++) {
reader.Goto(i);