public static void ccDrawPoint(GL10 gl,CGPoint pnt){
  FloatBuffer vertices=getVertices(2 * 1);
  vertices.put(pnt.x);
  vertices.put(pnt.y);
  vertices.position(0);
  gl.glDisable(GL10.GL_TEXTURE_2D);
  gl.glDisableClientState(GL10.GL_TEXTURE_COORD_ARRAY);
  gl.glDisableClientState(GL10.GL_COLOR_ARRAY);
  gl.glVertexPointer(2,GL_FLOAT,0,vertices);
  gl.glDrawArrays(GL_POINTS,0,1);
  gl.glEnableClientState(GL10.GL_COLOR_ARRAY);
  gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY);
  gl.glEnable(GL10.GL_TEXTURE_2D);
}

public static void ccDrawPoint ( GL10 gl , CGPoint pnt ) { FloatBuffer vertices = getVertices ( 2 * 1 ) ; vertices . put ( pnt . x ) ; vertices . put ( pnt . y ) ; vertices . position ( 0 ) ; gl . glDisable ( GL10 . GL_TEXTURE_2D ) ; gl . glDisableClientState ( GL10 . GL_TEXTURE_COORD_ARRAY ) ; gl . glDisableClientState ( GL10 . GL_COLOR_ARRAY ) ; gl . glVertexPointer ( 2 , GL_FLOAT , 0 , vertices ) ; gl . glDrawArrays ( GL_POINTS , 0 , 1 ) ; gl . glEnableClientState ( GL10 . GL_COLOR_ARRAY ) ; gl . glEnableClientState ( GL10 . GL_TEXTURE_COORD_ARRAY ) ; gl . glEnable ( GL10 . GL_TEXTURE_2D ) ; }
draws a point given x and y coordinate
