Fixing several problems with the handling of offsecreen surfaces

This commit is contained in:
codeanticode
2013-05-27 13:01:29 -04:00
parent b7abfe8447
commit 62d7076a59
6 changed files with 167 additions and 136 deletions

View File

@@ -149,7 +149,6 @@ public class FrameBuffer implements PConstants {
@Override
protected void finalize() throws Throwable {
try {
// PApplet.println("finalize FBO");
if (!screenFb) {
if (glFbo != 0) {
PGraphicsOpenGL.finalizeFrameBufferObject(glFbo, context);