aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/impl/egl/EGLContext.java
diff options
context:
space:
mode:
authorMichael Bien <mbien@fh-landshut.de>2010-03-30 14:01:15 +0200
committerMichael Bien <mbien@fh-landshut.de>2010-03-30 14:01:15 +0200
commit44b93b2d63539bca4c7e3facfee90d5f3bbb67cf (patch)
tree528cb1b0c5e965cc07cfd390196caf05aba9aa7f /src/jogl/classes/com/jogamp/opengl/impl/egl/EGLContext.java
parentf250183bc3d8eb4ef87cecb3311eae554dcafe53 (diff)
parent62dcd1a3fe345c4d2c0e42472d2c7646fe224e8f (diff)
Merge branch 'master' of github.com:mbien/jogl
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");
}