@Override public void dispose(GLAutoDrawable drawable) { final GL2ES2 gl = drawable.getGL().getGL2ES2(); screenshot.dispose(gl); regionFPS.destroy(gl); regionFPSAnim.destroy(gl); super.dispose(drawable); }
public void dispose(final GLAutoDrawable drawable) { readBufferUtil.dispose(drawable.getGL()); }