From 93531a87d4ec985e6088fd8c63b75457c09d8c0e Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 27 Nov 2008 06:57:50 +0000 Subject: KD Fix: Use EGL AttributeList directly git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1809 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/com/sun/javafx/newt/kd/KDWindow.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/classes/com/sun/javafx/newt/kd/KDWindow.java') diff --git a/src/classes/com/sun/javafx/newt/kd/KDWindow.java b/src/classes/com/sun/javafx/newt/kd/KDWindow.java index ebd8edc36..b7b9f6686 100755 --- a/src/classes/com/sun/javafx/newt/kd/KDWindow.java +++ b/src/classes/com/sun/javafx/newt/kd/KDWindow.java @@ -76,7 +76,7 @@ public class KDWindow extends Window { windowHandle = 0; windowID = ++_windowID; - eglWindowHandle = CreateWindow(windowID, getDisplayHandle(), visualID, eglRenderableType); + eglWindowHandle = CreateWindow(windowID, getDisplayHandle(), config.getAttributeList()); if (eglWindowHandle == 0) { throw new RuntimeException("Error creating egl window: "+eglWindowHandle); } @@ -140,7 +140,7 @@ public class KDWindow extends Window { // private static native boolean initIDs(); - private native long CreateWindow(int owner, long displayHandle, long eglConfig, int eglRenderableType); + private native long CreateWindow(int owner, long displayHandle, int[] attributes); private native long RealizeWindow(long eglWindowHandle); private native int CloseWindow(long eglWindowHandle); private native void setVisible0(long eglWindowHandle, boolean visible); -- cgit v1.2.3