aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/javafx/newt/kd/KDWindow.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-11-27 06:57:50 +0000
committerSven Gothel <[email protected]>2008-11-27 06:57:50 +0000
commit93531a87d4ec985e6088fd8c63b75457c09d8c0e (patch)
tree02214d138f65353fe2f293cb7d3c6d4e40880a42 /src/classes/com/sun/javafx/newt/kd/KDWindow.java
parent6c6663bf9e424ef88eddd333a1a379b3059662f8 (diff)
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
Diffstat (limited to 'src/classes/com/sun/javafx/newt/kd/KDWindow.java')
-rwxr-xr-xsrc/classes/com/sun/javafx/newt/kd/KDWindow.java4
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);