mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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:
parent
077eae6255
commit
a04af187ea
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue