note about glutSetVertexAttribTexCoord2 in shapes demo
[freeglut] / progs / demos / shapes / shapes.c
index 520a209..2fe6bb4 100644 (file)
@@ -690,6 +690,7 @@ static void display(void)
         gl_UseProgram (program);
         glutSetVertexAttribCoord3(attribute_fg_coord);
         glutSetVertexAttribNormal(attribute_fg_normal);
+        /* There is also a glutSetVertexAttribTexCoord2, which is used only when drawing the teapot, teacup or teaspoon */
 
         gl_matrix_mode(GL_PROJECTION);
         gl_load_identity();