From 6a60b56aaf6dc5d9b0d2dd81b20a568e74232a43 Mon Sep 17 00:00:00 2001 From: Diederick Niehorster Date: Sat, 16 Mar 2013 15:46:39 +0000 Subject: [PATCH] small comment fix (this was not todo, we're not leaking memory here) git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1560 7f0cb862-5218-0410-a997-914c9d46530a --- src/fg_geometry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fg_geometry.c b/src/fg_geometry.c index 3463723..aa2439e 100644 --- a/src/fg_geometry.c +++ b/src/fg_geometry.c @@ -478,8 +478,8 @@ static void fghGenerateNormalVisualization(GLfloat *vertices, GLfloat *normals, 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; -- 1.7.10.4