diff options
author | Sven Gothel <[email protected]> | 2011-11-09 17:19:36 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-11-09 17:19:36 +0100 |
commit | ed33158d3330dfe2287af5bfaf5aea99f199887c (patch) | |
tree | fbc7c33d32b97bfeb3f616a515dea704ac88f9cc /src/jogl/classes/jogamp/opengl/x11/glx | |
parent | f48713f52733b476d8d59e4a9a9e3f64afeba6a5 (diff) |
Cleanup offscreen/pbuffer drawables - minor edits
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/x11/glx')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/x11/glx/X11PbufferGLXDrawable.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/jogl/classes/jogamp/opengl/x11/glx/X11PbufferGLXDrawable.java b/src/jogl/classes/jogamp/opengl/x11/glx/X11PbufferGLXDrawable.java index 77598e011..885890892 100644 --- a/src/jogl/classes/jogamp/opengl/x11/glx/X11PbufferGLXDrawable.java +++ b/src/jogl/classes/jogamp/opengl/x11/glx/X11PbufferGLXDrawable.java @@ -50,10 +50,6 @@ public class X11PbufferGLXDrawable extends X11GLXDrawable { int width, int height */ super(factory, target, false); - if (DEBUG) { - System.out.println("Pbuffer config: " + getNativeSurface().getGraphicsConfiguration().getNativeGraphicsConfiguration()); - } - setRealized(true); if (DEBUG) { @@ -90,7 +86,10 @@ public class X11PbufferGLXDrawable extends X11GLXDrawable { AbstractGraphicsScreen aScreen = config.getScreen(); AbstractGraphicsDevice aDevice = aScreen.getDevice(); long display = aDevice.getHandle(); - int screen = aScreen.getIndex(); + + if (DEBUG) { + System.out.println("Pbuffer config: " + config); + } if (display==0) { throw new GLException("Null display"); |