aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com
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/newt/classes/com
parent5cd7e4fab47996eddf1a2798215fb975fe32b4bf (diff)
Fix Config: Set doublebuffer:=false if offscreen; NEWT: Fix KDWindow.
Diffstat (limited to 'src/newt/classes/com')
-rwxr-xr-xsrc/newt/classes/com/sun/javafx/newt/opengl/kd/KDWindow.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/com/sun/javafx/newt/opengl/kd/KDWindow.java b/src/newt/classes/com/sun/javafx/newt/opengl/kd/KDWindow.java
index fd5711b08..605e9c064 100755
--- a/src/newt/classes/com/sun/javafx/newt/opengl/kd/KDWindow.java
+++ b/src/newt/classes/com/sun/javafx/newt/opengl/kd/KDWindow.java
@@ -63,7 +63,7 @@ public class KDWindow extends Window {
}
GLCapabilities eglCaps = (GLCapabilities)config.getChosenCapabilities();
- int[] eglAttribs = EGLGraphicsConfiguration.GLCapabilities2AttribList(eglCaps, EGL.EGL_WINDOW_BIT);
+ int[] eglAttribs = EGLGraphicsConfiguration.GLCapabilities2AttribList(eglCaps);
windowHandle = 0;
eglWindowHandle = CreateWindow(getDisplayHandle(), eglAttribs);