diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/classes/com/sun/opengl/impl/x11/X11PbufferGLDrawable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/com/sun/opengl/impl/x11/X11PbufferGLDrawable.java b/src/classes/com/sun/opengl/impl/x11/X11PbufferGLDrawable.java index b03fdde03..4fdc0f80a 100644 --- a/src/classes/com/sun/opengl/impl/x11/X11PbufferGLDrawable.java +++ b/src/classes/com/sun/opengl/impl/x11/X11PbufferGLDrawable.java @@ -115,7 +115,7 @@ public class X11PbufferGLDrawable extends X11GLDrawable { throw new GLException("Render-to-texture-rectangle pbuffers not supported yet on X11"); } - int screen = 0; // FIXME: provide way to specify this? + int screen = GLX.DefaultScreen(display); int[] iattributes = X11GLDrawableFactory.glCapabilities2AttribList(capabilities, X11GLDrawableFactory.isMultisampleAvailable(), true, display, screen); |