note about glutSetVertexAttribTexCoord2 in shapes demo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1571 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
67cd64fd7a
commit
86a5d3fc91
@ -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();
|
||||
|
Reference in New Issue
Block a user