Don't know what I was thinking, sigh. Fixes #2889

This commit is contained in:
Henrik Rydgard committed 2013-07-23 01:05:09 +02:00
1 parent 2f2f20ce64
commit 5d91518e63
1 file changed
+2 -2
+2 -2
View File
@@ -733,7 +733,7 @@ void GetIndexBounds(void *inds, int count, u32 vertType, u16 *indexLowerBound, u
for (int i = 0; i < count; i++) {
if (ind8[i] > upperBound)
upperBound = ind8[i];
else if (ind8[i] < lowerBound)
if (ind8[i] < lowerBound)
lowerBound = ind8[i];
}
} else if (idx == GE_VTYPE_IDX_16BIT) {
@@ -741,7 +741,7 @@ void GetIndexBounds(void *inds, int count, u32 vertType, u16 *indexLowerBound, u
for (int i = 0; i < count; i++) {
if (ind16[i] > upperBound)
upperBound = ind16[i];
else if (ind16[i] < lowerBound)
if (ind16[i] < lowerBound)
lowerBound = ind16[i];
}
} else {