Code example for GL10

Methods: glBindTextureglDeleteTextures

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;
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE