GE Debugger:Fix indices memory allocation of bezier.

This commit is contained in:
xebra 2018-06-27 01:25:08 +09:00
parent 4fab160e19
commit 55b9daa736

View File

@ -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];