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