diff options
author | Sven Gothel <sgothel@jausoft.com> | 2009-10-03 18:43:48 -0700 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2009-10-03 18:43:48 -0700 |
commit | 907c249a5a6f80d10912440aa073ba42b94ae6de (patch) | |
tree | 07bb12ad290cfb94704735ace1268c46e562632b /src/jogl/classes/com/sun/opengl/impl/egl/EGLPbufferDrawable.java | |
parent | f043a48504b79409df4e674a15c87faa3f47c03f (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.java | 2 |
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) { |