aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/sun/opengl/impl/egl/EGLPbufferDrawable.java
diff options
context:
space:
mode:
authorSven Gothel <sgothel@jausoft.com>2009-10-03 18:43:48 -0700
committerSven Gothel <sgothel@jausoft.com>2009-10-03 18:43:48 -0700
commit907c249a5a6f80d10912440aa073ba42b94ae6de (patch)
tree07bb12ad290cfb94704735ace1268c46e562632b /src/jogl/classes/com/sun/opengl/impl/egl/EGLPbufferDrawable.java
parentf043a48504b79409df4e674a15c87faa3f47c03f (diff)
EGL Fix: Use the surface handle for creation, not the window handle; More fixedCaps.
Diffstat (limited to 'src/jogl/classes/com/sun/opengl/impl/egl/EGLPbufferDrawable.java')
-rw-r--r--src/jogl/classes/com/sun/opengl/impl/egl/EGLPbufferDrawable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/sun/opengl/impl/egl/EGLPbufferDrawable.java b/src/jogl/classes/com/sun/opengl/impl/egl/EGLPbufferDrawable.java
index 448112ae0..498372e55 100644
--- a/src/jogl/classes/com/sun/opengl/impl/egl/EGLPbufferDrawable.java
+++ b/src/jogl/classes/com/sun/opengl/impl/egl/EGLPbufferDrawable.java
@@ -103,7 +103,7 @@ public class EGLPbufferDrawable extends EGLDrawable {
return eglConfig;
}
- protected long createSurface(long eglDpy, _EGLConfig eglNativeCfg) {
+ protected long createSurface(long eglDpy, _EGLConfig eglNativeCfg, long surfaceHandle) {
int[] attrs = EGLGraphicsConfiguration.CreatePBufferSurfaceAttribList(width, height, texFormat);
long surf = EGL.eglCreatePbufferSurface(eglDpy, eglNativeCfg, attrs, 0);
if (EGL.EGL_NO_SURFACE==surf) {