Code example for GL11

Methods: glDeleteTextures

0
			Log.i(mName,"Draw gl==null");
			return; 
		} 
		Log.i(mName, "OnDestory " + mTextureId[0]);
		if(mTextureId[0]!=-1)			
			gl.glDeleteTextures(1, mTextureId, 0);
		mTextureId[0]=-1;
		mFVertexBuffer.clear();
	mTexBuffer.clear();
	mIndexBuffer.clear();	
 
	} 
 
	static public void drawMixed2D(Quad from, Quad to, float ratio) {
        final GL11 gl = to.mGL;
 
        // Bind "from" and "to" to TEXTURE0 and TEXTURE1, respectively. 
 
 
		gl.glActiveTexture(GL11.GL_TEXTURE0);
        gl.glBindTexture(GL11.GL_TEXTURE_2D, from.mTextureId[0]);