@Override
  public void destroy() {
    super.destroy();

    gfx.destroyTexture(tex);
    gfx.gl.deleteFramebuffer(fbuf);

    tex = null;
    fbuf = null;
    surface = null;
  }
Esempio n. 2
0
 @Override
 public void destroy() {
   super.destroy();
   impl.destroy(this);
 }