diff --git a/core/src/processing/opengl/FrameBuffer.java b/core/src/processing/opengl/FrameBuffer.java index 9c192386f..a063bc87e 100644 --- a/core/src/processing/opengl/FrameBuffer.java +++ b/core/src/processing/opengl/FrameBuffer.java @@ -149,7 +149,7 @@ public class FrameBuffer implements PConstants { @Override protected void finalize() throws Throwable { try { - PApplet.println("finalize FBO"); +// PApplet.println("finalize FBO"); if (!screenFb) { if (glFbo != 0) { PGraphicsOpenGL.finalizeFrameBufferObject(glFbo, context); diff --git a/core/src/processing/opengl/PGraphicsOpenGL.java b/core/src/processing/opengl/PGraphicsOpenGL.java index 18c8b12b0..77cbb8347 100644 --- a/core/src/processing/opengl/PGraphicsOpenGL.java +++ b/core/src/processing/opengl/PGraphicsOpenGL.java @@ -667,7 +667,7 @@ public class PGraphicsOpenGL extends PGraphics { @Override protected void finalize() throws Throwable { try { - PApplet.println("finalize surface"); +// PApplet.println("finalize surface"); deletePolyBuffers(); deleteLineBuffers(); @@ -797,7 +797,7 @@ public class PGraphicsOpenGL extends PGraphics { for (GLResource res : finalized) { glTextureObjects.remove(res); } - PApplet.println("Deleted " + finalized.size() + " texture objects, " + glTextureObjects.size() + " remaining"); +// PApplet.println("Deleted " + finalized.size() + " texture objects, " + glTextureObjects.size() + " remaining"); } protected static void removeTextureObject(int id, int context) { @@ -929,7 +929,7 @@ public class PGraphicsOpenGL extends PGraphics { for (GLResource res : finalized) { glFrameBuffers.remove(res); } - PApplet.println("Deleted " + finalized.size() + " framebuffer objects, " + glFrameBuffers.size() + " remaining"); +// PApplet.println("Deleted " + finalized.size() + " framebuffer objects, " + glFrameBuffers.size() + " remaining"); } protected static void removeFrameBufferObject(int id, int context) { @@ -994,7 +994,7 @@ public class PGraphicsOpenGL extends PGraphics { for (GLResource res : finalized) { glRenderBuffers.remove(res); } - PApplet.println("Deleted " + finalized.size() + " renderbuffer objects, " + glRenderBuffers.size() + " remaining"); +// PApplet.println("Deleted " + finalized.size() + " renderbuffer objects, " + glRenderBuffers.size() + " remaining"); } protected static void removeRenderBufferObject(int id, int context) { diff --git a/core/src/processing/opengl/Texture.java b/core/src/processing/opengl/Texture.java index 6a26121ec..e59c22a19 100644 --- a/core/src/processing/opengl/Texture.java +++ b/core/src/processing/opengl/Texture.java @@ -153,7 +153,7 @@ public class Texture implements PConstants { @Override protected void finalize() throws Throwable { try { - PApplet.println("finalize texture"); +// PApplet.println("finalize texture"); if (glName != 0) { PGraphicsOpenGL.finalizeTextureObject(glName, context); }