small comment fix (this was not todo, we're not leaking memory here)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1560 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
dcnieho 2013-03-16 15:46:39 +00:00
parent 7d4a63d970
commit 24caa9843b

View File

@ -478,8 +478,8 @@ static void fghGenerateNormalVisualization(GLfloat *vertices, GLfloat *normals,
GLushort *vertIdxs, GLsizei numParts, GLsizei numVertIdxsPerPart) GLushort *vertIdxs, GLsizei numParts, GLsizei numVertIdxsPerPart)
{ {
GLushort i,j; GLushort i,j;
/* calc number of vertices to generate, allocate. TODO: FREE again after draw! /* calc number of vertices to generate, allocate. Must be freed by caller
* two for each vertex in the input shape * We do the free at the end of fghDrawNormalVisualization11/fghDrawNormalVisualization20
*/ */
if (!vertIdxs) if (!vertIdxs)
numNormalVertices = numVertices * 2; numNormalVertices = numVertices * 2;