402403404405406407408409410411412
*/ public void destroy() { if (fboID > 0) { final IntBuffer id = ToolsBuffers.createIntBuffer(1); id.put(fboID); id.rewind(); gl.glDeleteFramebuffersEXT(id.limit(), id); fboID = 0; } if (depthRBID > 0) {
410411412413414415416417418419420
} if (depthRBID > 0) { final IntBuffer id = ToolsBuffers.createIntBuffer(1); id.put(depthRBID); id.rewind(); gl.glDeleteRenderbuffersEXT(id.limit(), id); depthRBID = 0; } this.textures.clear();