Code example for GL10

Methods: glBindTexture, glColor4x

0
	 *  
	 * @param gl 
	 */ 
	public void beginDrawing(GL10 gl) {
		checkState(STATE_INITIALIZED, STATE_DRAWING);
		gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
		gl.glColor4x(0x10000, 0x10000, 0x10000, 0x10000);
	} 
 
	/** 
	 * Draw a given label at a given x,y position, expressed in pixels, with the 
	 * lower-left-hand-corner of the view being (0,0). 
	 *  
	 * @param gl 
	 * @param x 
	 * @param y 
	 * @param labelID 
	 */ 
	public void draw(GL10 gl, float x, float y, int labelID) {
		checkState(STATE_DRAWING, STATE_DRAWING);
		gl.glPushMatrix();