Skip to content

Commit

Permalink
Fix (h/t 'fish')
Browse files Browse the repository at this point in the history
  • Loading branch information
learnopengles committed Apr 2, 2014
1 parent 7ae98c9 commit e103408
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,8 @@ public void onDrawFrame(GL10 glUnused)
mCubeTextureCoordinates.position(0);
GLES20.glVertexAttribPointer(mTextureCoordinateHandle, mTextureCoordinateDataSize, GLES20.GL_FLOAT, false,
0, mCubeTextureCoordinates);

GLES20.glEnableVertexAttribArray(mTextureCoordinateHandle);

drawCube();

Expand Down

0 comments on commit e103408

Please sign in to comment.