title: Do OpenGL Point Sprites work in Android?
body: <p>I'm developing on a Droid, version 2.1-update1.  My supported GL extensions include GL_OES_point_sprite and GL_OES_point_size_array.</p>
  
  <p>I am unable to get point sprites to render.    The code below throws UnsupportedOperationException from GLWrapperBase at the glTexEnvi call.    If I disable textures and comment out the glTexEnvi all, it throws the same exception further down, at glPointSizePointerOES().   </p>
  
  <p>Are point sprites properly supported in Android?   Has anyone gotten them working?    Or is there an issue with my code below?</p>
  
  <pre><code>// Note that gl is cast to GL11
  gl.glEnable(GL11.GL_TEXTURE_2D);
  gl.glEnable(GL11.GL_BLEND);
  gl.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
  gl.glDepthMask(false);
  gl.glEnable(GL11.GL_POINT_SPRITE_OES);
  gl.glTexEnvi( GL11.GL_POINT_SPRITE_OES, GL11.GL_COORD_REPLACE_OES, GL11.GL_TRUE );  
  gl.glEnableClientState(GL11.GL_VERTEX_ARRAY);
  gl.glVertexPointer(2, GL11.GL_SHORT, 0, .vertBuffer);
  gl.glEnableClientState(GL11.GL_POINT_SIZE_ARRAY_OES);
  gl.glPointSizePointerOES(GL11.GL_FLOAT, 0, pointSizeBuffer);
  </code></pre>
  
  <p>Thanks</p>