Skip to content

Commit

Permalink
Merge pull request #39 from mortennobel/patch-1
Browse files Browse the repository at this point in the history
disableVertexAttribArray 0 instead of 1.
  • Loading branch information
danginsburg authored Dec 27, 2016
2 parents 3b18ecc + 9f32b4c commit c0214d2
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 c0214d2

Please sign in to comment.