mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
GE Debugger:Fix indices memory allocation of bezier.
This commit is contained in:
parent
4fab160e19
commit
55b9daa736
@ -199,7 +199,7 @@ static void ExpandBezier(int &count, int op, const std::vector<SimpleVertex> &si
|
||||
}
|
||||
|
||||
generatedVerts.resize((tess_u + 1) * (tess_v + 1) * total_patches);
|
||||
generatedInds.resize(tess_u * tess_v * 6);
|
||||
generatedInds.resize(tess_u * tess_v * 6 * total_patches);
|
||||
|
||||
count = 0;
|
||||
u8 *dest = (u8 *)&generatedVerts[0];
|
||||
|
Loading…
Reference in New Issue
Block a user