title: Android GLSurfaceView glTexImage2D glDrawTexiOES
body: <p>I'm trying to render a 640x480 RGB565 image using OpenGL ES on Android using GLSurfaceView and Native C code.</p>
  
  <p>Initially I had a 0x0501 error with glTexImage2D, which I was able to resolve by changing the image dimensions.</p>
  
  <p>But now, in the "drawFrame" call, when I do glDrawTexiOES to resnder the texture, I'm getting the following error on the Logs:</p>
  
  <p>drawtex.c:89: DrawTexture: No textures enabled</p>
  
  <p>I'm already doing glEnable(GL_TEXTURE_2D), is there anything else I should do?</p>
  
  <p>Is there a complete example showing GLSurfaceView with native code using textures?</p>
  
  <p>Thanks in advance!</p>