From 907c249a5a6f80d10912440aa073ba42b94ae6de Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 3 Oct 2009 18:43:48 -0700 Subject: EGL Fix: Use the surface handle for creation, not the window handle; More fixedCaps. --- src/jogl/classes/com/sun/opengl/impl/egl/EGLPbufferDrawable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/classes/com/sun/opengl/impl/egl/EGLPbufferDrawable.java') 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) { -- cgit v1.2.3