diff options
Diffstat (limited to 'src/classes/com/sun/javafx/newt/kd')
-rwxr-xr-x | src/classes/com/sun/javafx/newt/kd/KDWindow.java | 4 |
1 files changed, 2 insertions, 2 deletions
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); |