summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/egl/EGLExternalContext.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-12-21 19:24:51 +0100
committerSven Gothel <[email protected]>2012-12-21 19:24:51 +0100
commit13600772542d9d5ad65c6d73b3d568100d6445b6 (patch)
treebb19e6876d8b1653c804fd939a386d9363fca6b0 /src/jogl/classes/jogamp/opengl/egl/EGLExternalContext.java
parentcdd6b8fe25581b127e36f713e31c84af2d72945e (diff)
GLContextImpl: Make createContextARBImpl/setGLFunctionAvailability more robost while detecting erroneous queried GL version
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/egl/EGLExternalContext.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/egl/EGLExternalContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLExternalContext.java b/src/jogl/classes/jogamp/opengl/egl/EGLExternalContext.java
index 84bd705db..da8fb519d 100644
--- a/src/jogl/classes/jogamp/opengl/egl/EGLExternalContext.java
+++ b/src/jogl/classes/jogamp/opengl/egl/EGLExternalContext.java
@@ -45,7 +45,7 @@ public class EGLExternalContext extends EGLContext {
public EGLExternalContext(AbstractGraphicsScreen screen) {
super(null, null);
GLContextShareSet.contextCreated(this);
- setGLFunctionAvailability(false, 0, 0, CTX_PROFILE_ES);
+ setGLFunctionAvailability(false, 0, 0, CTX_PROFILE_ES, false);
getGLStateTracker().setEnabled(false); // external context usage can't track state in Java
}