git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1560
7f0cb862-5218-0410-a997-
914c9d46530a
GLushort *vertIdxs, GLsizei numParts, GLsizei numVertIdxsPerPart)
{
GLushort i,j;
- /* calc number of vertices to generate, allocate. TODO: FREE again after draw!
- * two for each vertex in the input shape
+ /* calc number of vertices to generate, allocate. Must be freed by caller
+ * We do the free at the end of fghDrawNormalVisualization11/fghDrawNormalVisualization20
*/
if (!vertIdxs)
numNormalVertices = numVertices * 2;