Code example for GL10

Methods: glBindTexture, glDeleteTextures

0
		gl.glBindTexture(GL10.GL_TEXTURE_2D, textureId);
	} 
 
	public void dispose() { 
		GL10 gl = glGraphics.getGL();
		gl.glBindTexture(GL10.GL_TEXTURE_2D, textureId);
		int[] textureIds = { textureId };
		gl.glDeleteTextures(1, textureIds, 0);
	} 
 
	@Override 
	public int getWidth() { 
		return width;
	} 
 
	@Override 
	public int getHeight() { 
		return height;
	} 
}