aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/sun/opengl/impl/macosx
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/macosx
parent5cd7e4fab47996eddf1a2798215fb975fe32b4bf (diff)
Fix Config: Set doublebuffer:=false if offscreen; NEWT: Fix KDWindow.
Diffstat (limited to 'src/jogl/classes/com/sun/opengl/impl/macosx')
-rw-r--r--src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLDrawableFactory.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLDrawableFactory.java b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLDrawableFactory.java
index f398ed8a0..ee1ba732d 100644
--- a/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLDrawableFactory.java
+++ b/src/jogl/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLDrawableFactory.java
@@ -74,6 +74,7 @@ public class MacOSXCGLDrawableFactory extends GLDrawableFactoryImpl implements D
int width,
int height) {
AbstractGraphicsScreen aScreen = DefaultGraphicsScreen.createDefault();
+ capabilities.setDoubleBuffered(false); // FIXME
capabilities.setOnscreen(false);
capabilities.setPBuffer(false);
return new MacOSXOffscreenCGLDrawable(this, aScreen, capabilities, chooser, width, height);
@@ -88,6 +89,7 @@ public class MacOSXCGLDrawableFactory extends GLDrawableFactoryImpl implements D
final int initialWidth,
final int initialHeight) {
AbstractGraphicsScreen screen = DefaultGraphicsScreen.createDefault();
+ capabilities.setDoubleBuffered(false); // FIXME
capabilities.setOnscreen(false);
capabilities.setPBuffer(true);
return new MacOSXPbufferCGLDrawable(this, screen, capabilities, chooser,