14671468146914701471147214731474147514761477
//Delete openGL texture object if (this.getTexture() instanceof GLTexture){ GLTexture tex = (GLTexture) this.getTexture(); //Delete texture tex.destroy(); this.setTexture(null); this.setTextureEnabled(false); } super.destroy(); }