aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/impl/egl/EGLContext.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-03-30 02:01:15 +0200
committerSven Gothel <[email protected]>2010-03-30 02:01:15 +0200
commit1a2a54a83a9adb95b4bfe9c337751acbef0cb0d3 (patch)
tree70eaf25d06284c2d71db7d51a5efdf7f18607be2 /src/jogl/classes/com/jogamp/opengl/impl/egl/EGLContext.java
parentb3f2ab84401efef233c0038f004a9f210cbe83fc (diff)
Adaptions to
http://www.jogamp.org/bugzilla/show_bug.cgi?id=392 7220416bcef3140883d3966d921442feae3107c4
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/impl/egl/EGLContext.java')
-rwxr-xr-xsrc/jogl/classes/com/jogamp/opengl/impl/egl/EGLContext.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/impl/egl/EGLContext.java b/src/jogl/classes/com/jogamp/opengl/impl/egl/EGLContext.java
index 42d4588b5..ec2677559 100755
--- a/src/jogl/classes/com/jogamp/opengl/impl/egl/EGLContext.java
+++ b/src/jogl/classes/com/jogamp/opengl/impl/egl/EGLContext.java
@@ -158,13 +158,13 @@ public abstract class EGLContext extends GLContextImpl {
long eglDisplay = ((EGLDrawable)drawable).getDisplay();
EGLGraphicsConfiguration config = ((EGLDrawable)drawable).getGraphicsConfiguration();
GLProfile glProfile = drawable.getGLProfile();
- _EGLConfig eglConfig = config.getNativeConfig();
+ long eglConfig = config.getNativeConfig();
long shareWith = EGL.EGL_NO_CONTEXT;
if (eglDisplay == 0) {
throw new GLException("Error: attempted to create an OpenGL context without a display connection");
}
- if (eglConfig == null) {
+ if (eglConfig == 0) {
throw new GLException("Error: attempted to create an OpenGL context without a graphics configuration");
}