From 012460d1fdef767afdc454fb09ba50f056d26e20 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 4 Oct 2009 13:20:53 -0700 Subject: Fix Config: Set doublebuffer:=false if offscreen; NEWT: Fix KDWindow. --- src/newt/classes/com/sun/javafx/newt/opengl/kd/KDWindow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newt/classes/com') 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); -- cgit v1.2.3