public void endDrawing(GL10 gl){
  gl.glDisable(GL10.GL_ALPHA_TEST);
  gl.glMatrixMode(GL10.GL_PROJECTION);
  gl.glPopMatrix();
  gl.glMatrixMode(GL10.GL_MODELVIEW);
  gl.glPopMatrix();
  gl.glDisable(GL10.GL_TEXTURE_2D);
  gl.glColor4x(FixedPoint.ONE,FixedPoint.ONE,FixedPoint.ONE,FixedPoint.ONE);
}

public void endDrawing ( GL10 gl ) { gl . glDisable ( GL10 . GL_ALPHA_TEST ) ; gl . glMatrixMode ( GL10 . GL_PROJECTION ) ; gl . glPopMatrix ( ) ; gl . glMatrixMode ( GL10 . GL_MODELVIEW ) ; gl . glPopMatrix ( ) ; gl . glDisable ( GL10 . GL_TEXTURE_2D ) ; gl . glColor4x ( FixedPoint . ONE , FixedPoint . ONE , FixedPoint . ONE , FixedPoint . ONE ) ; }
ends the drawing and restores the opengl state .
