Minor fix in Window and OpenGL examples
This commit is contained in:
parent
7fc29c78f7
commit
7c9f9cc41c
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ int main()
|
|||
glEnable(GL_TEXTURE_2D);
|
||||
glBindTexture(GL_TEXTURE_2D, texture);
|
||||
|
||||
// Define a 3D cube (8 faces made of 2 triangles composed by 3 vertices)
|
||||
// Define a 3D cube (6 faces made of 2 triangles composed by 3 vertices)
|
||||
GLfloat cube[] =
|
||||
{
|
||||
// positions // texture coordinates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue