Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
remove glEnable(GL_TEXTURE_2D)
Browse files Browse the repository at this point in the history
This is no longer needed with GLES2
  • Loading branch information
laanwj committed Jul 19, 2013
1 parent 6fec4ed commit ca02c7c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion opengles-book-samples/ParticleSystem/ParticleSystem.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ void Draw ( ESContext *esContext )
// Bind the texture
glActiveTexture ( GL_TEXTURE0 );
glBindTexture ( GL_TEXTURE_2D, userData->textureId );
glEnable ( GL_TEXTURE_2D );

// Set the sampler texture unit to 0
glUniform1i ( userData->samplerLoc, 0 );
Expand Down

0 comments on commit ca02c7c

Please sign in to comment.