From 9d84d97ffdd033aedffea5c8f700e45ad8b64ed5 Mon Sep 17 00:00:00 2001 From: codeanticode Date: Thu, 31 May 2012 04:46:00 +0000 Subject: [PATCH] Removed debug println --- java/libraries/opengl/src/processing/opengl/PGL.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/java/libraries/opengl/src/processing/opengl/PGL.java b/java/libraries/opengl/src/processing/opengl/PGL.java index 2668fa726..036d4f4b8 100644 --- a/java/libraries/opengl/src/processing/opengl/PGL.java +++ b/java/libraries/opengl/src/processing/opengl/PGL.java @@ -646,6 +646,9 @@ public class PGL { public boolean primaryIsDoubleBuffered() { + // When using the multisampled FBO, the color + // FBO is single buffered as it has only one + // texture bound to it. return !needFBO; } @@ -666,7 +669,6 @@ public class PGL { public void beginOnscreenDraw(boolean clear) { if (needFBO) { - System.out.println("multisampled offscreen rendering..."); // Render the scene to the mutisampled buffer... gl.glBindFramebuffer(GL.GL_FRAMEBUFFER, multiFBO[0]); gl2x.glDrawBuffer(GL.GL_COLOR_ATTACHMENT0);