diff options
Diffstat (limited to 'src/classes/com/sun/opengl/impl')
-rwxr-xr-x | src/classes/com/sun/opengl/impl/Java2D.java | 8 |
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"); + } } } } |