From 93531a87d4ec985e6088fd8c63b75457c09d8c0e Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 27 Nov 2008 06:57:50 +0000 Subject: KD Fix: Use EGL AttributeList directly git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1809 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/com/sun/opengl/impl/egl/EGLContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/classes/com/sun/opengl/impl/egl/EGLContext.java') diff --git a/src/classes/com/sun/opengl/impl/egl/EGLContext.java b/src/classes/com/sun/opengl/impl/egl/EGLContext.java index 8ba07bc51..40ab077a6 100755 --- a/src/classes/com/sun/opengl/impl/egl/EGLContext.java +++ b/src/classes/com/sun/opengl/impl/egl/EGLContext.java @@ -182,7 +182,7 @@ public class EGLContext extends GLContextImpl { protected void create() throws GLException { long display = drawable.getDisplay(); _EGLConfig config = drawable.getEGLConfig().getNativeConfig(); - long shareWith = 0; + long shareWith = EGL.EGL_NO_CONTEXT; if (display == 0) { throw new GLException("Error: attempted to create an OpenGL context without a display connection"); -- cgit v1.2.3