Permalink
Browse files

GE Debugger:Fix indices memory allocation of bezier.

  • Loading branch information...
xebra committed Jun 26, 2018
1 parent 4fab160 commit 55b9daa736dd41904e3cd1b35e848f6290c24dc8
Showing with 1 addition and 1 deletion.
  1. +1 −1 Windows/GEDebugger/VertexPreview.cpp
@@ -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];

0 comments on commit 55b9daa

Please sign in to comment.