aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-05-29 14:43:12 +0000
committerKenneth Russel <[email protected]>2006-05-29 14:43:12 +0000
commit412d0eef03da9d34a67713b11d71fe7d00f25aed (patch)
tree68c04f1fb59a943cf8c35b0e4cda871f7a5b704e
parent2ebf1e32197d7236ff820c542e22ec78e700bdc1 (diff)
Removed debugging println
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@787 232f8b59-042b-4e1e-8c03-345bb8c30851
-rwxr-xr-xsrc/classes/com/sun/opengl/impl/Java2D.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/classes/com/sun/opengl/impl/Java2D.java b/src/classes/com/sun/opengl/impl/Java2D.java
index de3d477e3..11a8f3da3 100755
--- a/src/classes/com/sun/opengl/impl/Java2D.java
+++ b/src/classes/com/sun/opengl/impl/Java2D.java
@@ -412,13 +412,17 @@ public class Java2D {
// similar rather than keeping one share context in a global
// variable.
initializedJ2DFBOShareContext = true;
- System.err.println("Starting initialization of J2D FBO share context");
+ if (DEBUG) {
+ System.err.println("Starting initialization of J2D FBO share context");
+ }
invokeWithOGLSharedContextCurrent(gc, new Runnable() {
public void run() {
j2dFBOShareContext = GLDrawableFactory.getFactory().createExternalGLContext();
}
});
- System.err.println("Ending initialization of J2D FBO share context");
+ if (DEBUG) {
+ System.err.println("Ending initialization of J2D FBO share context");
+ }
}
}
}