aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/egl/EGLContext.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-11-27 06:57:50 +0000
committerSven Gothel <[email protected]>2008-11-27 06:57:50 +0000
commit93531a87d4ec985e6088fd8c63b75457c09d8c0e (patch)
tree02214d138f65353fe2f293cb7d3c6d4e40880a42 /src/classes/com/sun/opengl/impl/egl/EGLContext.java
parent6c6663bf9e424ef88eddd333a1a379b3059662f8 (diff)
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
Diffstat (limited to 'src/classes/com/sun/opengl/impl/egl/EGLContext.java')
-rwxr-xr-xsrc/classes/com/sun/opengl/impl/egl/EGLContext.java2
1 files changed, 1 insertions, 1 deletions
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");