mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Merge pull request #4489 from sum2012/patch-2
Attempt to fix Colin Mcrae Dirt 2 Crash correctly
This commit is contained in:
commit
bcd499ff38
@ -111,7 +111,8 @@ void IndexGenerator::AddStrip(int numVerts) {
|
||||
}
|
||||
inds_ = outInds;
|
||||
index_ += numVerts;
|
||||
count_ += numTris * 3;
|
||||
if (numTris > 0)
|
||||
count_ += numTris * 3;
|
||||
// This is so we can detect one single strip by just looking at seenPrims_.
|
||||
if (!seenPrims_) {
|
||||
seenPrims_ = 1 << GE_PRIM_TRIANGLE_STRIP;
|
||||
|
Loading…
Reference in New Issue
Block a user