mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
Fix 16-bit indexed rectangles.
This was causing us to draw double the rectangles. 8-bit indexed rectangles are already correct.
This commit is contained in:
1 parent
077eae6255
commit
a04af187ea
1 file changed
+1
-1
@@ -419,7 +419,7 @@ void IndexGenerator::TranslateRectangles(int numInds, const u16 *_inds, int inde
|
||||
*outInds++ = indexOffset + inds[i+1];
|
||||
}
|
||||
inds_ = outInds;
|
||||
count_ += numInds * 2;
|
||||
count_ += numInds;
|
||||
prim_ = GE_PRIM_RECTANGLES;
|
||||
seenPrims_ |= (1 << GE_PRIM_RECTANGLES) | SEEN_INDEX16;
|
||||
}
|
||||
Reference in new issue
Block a user