Commented out GL debugging messages

This commit is contained in:
codeanticode
2013-05-04 12:24:41 -04:00
parent 84ff67e40e
commit 8a514e355d
3 changed files with 6 additions and 6 deletions

View File

@@ -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);

View File

@@ -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) {

View File

@@ -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);
}