mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
Don't know what I was thinking, sigh. Fixes #2889
This commit is contained in:
1 parent
2f2f20ce64
commit
5d91518e63
1 file changed
+2
-2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user