diff options
author | Sven Gothel <[email protected]> | 2009-10-04 16:26:29 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-10-04 16:26:29 -0700 |
commit | 4edde96746fca6e2f7c35bcd54312e43a16443e6 (patch) | |
tree | f88da6f7f0d970faa1a6473301f14a3ab95d6249 /src/jogl/classes/com/sun/opengl/impl | |
parent | a8db29bae61bbaf4726ebf254cc510abbdb311f8 (diff) |
EGL: Use surfaceHandle, not windowHandle (2) for eglSurface
Diffstat (limited to 'src/jogl/classes/com/sun/opengl/impl')
-rwxr-xr-x | src/jogl/classes/com/sun/opengl/impl/egl/EGLDrawable.java | 4 |
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)); } |