aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/sun/opengl/impl/x11
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-10-04 13:20:53 -0700
committerSven Gothel <[email protected]>2009-10-04 13:20:53 -0700
commit012460d1fdef767afdc454fb09ba50f056d26e20 (patch)
tree029523ba595bfda18934337c7dd2776b79fe36f5 /src/jogl/classes/com/sun/opengl/impl/x11
parent5cd7e4fab47996eddf1a2798215fb975fe32b4bf (diff)
Fix Config: Set doublebuffer:=false if offscreen; NEWT: Fix KDWindow.
Diffstat (limited to 'src/jogl/classes/com/sun/opengl/impl/x11')
-rw-r--r--src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXDrawableFactory.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXDrawableFactory.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXDrawableFactory.java
index 8ee1efcb7..f278d76d0 100644
--- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXDrawableFactory.java
+++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXDrawableFactory.java
@@ -77,6 +77,7 @@ public class X11GLXDrawableFactory extends GLDrawableFactoryImpl implements Dyna
int width,
int height) {
AbstractGraphicsScreen screen = X11GraphicsScreen.createDefault();
+ capabilities.setDoubleBuffered(false); // FIXME
capabilities.setOnscreen(false);
capabilities.setPBuffer(false);
return new X11OffscreenGLXDrawable(this, screen, capabilities, chooser, width, height);
@@ -124,6 +125,7 @@ public class X11GLXDrawableFactory extends GLDrawableFactoryImpl implements Dyna
throw new GLException("Pbuffer support not available with current graphics card");
}
+ capabilities.setDoubleBuffered(false); // FIXME
capabilities.setOnscreen(false);
capabilities.setPBuffer(true);
AbstractGraphicsScreen screen = X11GraphicsScreen.createDefault();