Remove debugging left-over -_-' (thanks Dee)
authorSylvain Beucler <beuc@beuc.net>
Wed, 2 May 2012 16:42:55 +0000 (16:42 +0000)
committerSylvain Beucler <beuc@beuc.net>
Wed, 2 May 2012 16:42:55 +0000 (16:42 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1280 7f0cb862-5218-0410-a997-914c9d46530a

src/fg_geometry.c

index a19e41d..07e4159 100644 (file)
@@ -175,10 +175,6 @@ static void fghDrawGeometryWire20(GLfloat *vertices, GLfloat *normals, GLsizei n
 
     if (vertIdxs2) {
         fghBindBuffer(FGH_ELEMENT_ARRAY_BUFFER, ibo_elements2);
-        static float t2 = 0;
-        t2 += 0.1;
-        if (t2 >= numParts2)
-            t2 = 0;
         for (i=0; i<numParts2; i++)
             glDrawElements(GL_LINE_LOOP, numVertPerPart2,
                            GL_UNSIGNED_SHORT, (GLvoid*)(sizeof(vertIdxs2[0])*i*numVertPerPart2));