Skip to content

Commit

Permalink
disableVertexAttribArray 0 instead of 1.
Browse files Browse the repository at this point in the history
Alternative delete the line.
  • Loading branch information
mortennobel authored Dec 22, 2016
1 parent ff1b7de commit 9f32b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chapter_6/Example_6_3/Example_6_3.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void Draw ( ESContext *esContext )

glDrawArrays ( GL_TRIANGLES, 0, 3 );

glDisableVertexAttribArray ( 1 );
glDisableVertexAttribArray ( 0 );
}

void Shutdown ( ESContext *esContext )
Expand Down

0 comments on commit 9f32b4c

Please sign in to comment.