Code example for GL10

Methods: glDeleteTextures

0
    public void shutdown(GL10 gl) {
        if ( gl != null) {
            if (mState > STATE_NEW) {
                int[] textures = new int[1];
                textures[0] = mTextureID;
                gl.glDeleteTextures(1, textures, 0);
                mState = STATE_NEW;
            } 
        } 
    } 
 
    /** 
     * Call before adding labels. Clears out any existing labels. 
     * 
     * @param gl 
     */ 
    public void beginAdding(GL10 gl) {
        checkState(STATE_INITIALIZED, STATE_ADDING);
        mLabels.clear();
        mU = 0;
Contextual code suggestions in your IDE  Get Codota for Java