summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/sun/opengl/impl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-10-04 16:26:29 -0700
committerSven Gothel <[email protected]>2009-10-04 16:26:29 -0700
commit4edde96746fca6e2f7c35bcd54312e43a16443e6 (patch)
treef88da6f7f0d970faa1a6473301f14a3ab95d6249 /src/jogl/classes/com/sun/opengl/impl
parenta8db29bae61bbaf4726ebf254cc510abbdb311f8 (diff)
EGL: Use surfaceHandle, not windowHandle (2) for eglSurface
Diffstat (limited to 'src/jogl/classes/com/sun/opengl/impl')
-rwxr-xr-xsrc/jogl/classes/com/sun/opengl/impl/egl/EGLDrawable.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/com/sun/opengl/impl/egl/EGLDrawable.java b/src/jogl/classes/com/sun/opengl/impl/egl/EGLDrawable.java
index f1cbd6e35..6901be23e 100755
--- a/src/jogl/classes/com/sun/opengl/impl/egl/EGLDrawable.java
+++ b/src/jogl/classes/com/sun/opengl/impl/egl/EGLDrawable.java
@@ -122,9 +122,9 @@ public abstract class EGLDrawable extends GLDrawableImpl {
throw new GLException("Null EGLGraphicsConfiguration from "+aConfig);
}
int[] tmp = new int[1];
- if (EGL.eglQuerySurface(eglDisplay, component.getWindowHandle(), EGL.EGL_CONFIG_ID, tmp, 0)) {
+ if (EGL.eglQuerySurface(eglDisplay, component.getSurfaceHandle(), EGL.EGL_CONFIG_ID, tmp, 0)) {
// component holds static EGLSurface
- eglSurface = component.getWindowHandle();
+ eglSurface = component.getSurfaceHandle();
if(DEBUG) {
System.err.println("setSurface re-using component's EGLSurface: handle 0x"+Long.toHexString(eglSurface));
}