diff --git a/Chapter_6/Example_6_3/Example_6_3.c b/Chapter_6/Example_6_3/Example_6_3.c index a5bbd05..a26ac77 100644 --- a/Chapter_6/Example_6_3/Example_6_3.c +++ b/Chapter_6/Example_6_3/Example_6_3.c @@ -117,7 +117,7 @@ void Draw ( ESContext *esContext ) glDrawArrays ( GL_TRIANGLES, 0, 3 ); - glDisableVertexAttribArray ( 1 ); + glDisableVertexAttribArray ( 0 ); } void Shutdown ( ESContext *esContext )