summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-26 16:45:29 +0200
committerSven Gothel <[email protected]>2011-10-26 16:45:29 +0200
commit309f03ed08c1661db792f21aab5b48559dc4f215 (patch)
treee6810bfb76c33fd09713b5159a76e59012f03b80 /src/jogl/classes/jogamp/opengl
parentf326119fd60eb3a851317bbed5bd57a535816014 (diff)
GLProfile: Add GLProfile getImpl(); Use getImpl() for getGL2ES[12](..), dropping GL2ES[12] lists
Diffstat (limited to 'src/jogl/classes/jogamp/opengl')
-rw-r--r--src/jogl/classes/jogamp/opengl/GLContextImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLContextImpl.java b/src/jogl/classes/jogamp/opengl/GLContextImpl.java
index acdde4e2c..58f1bf1cd 100644
--- a/src/jogl/classes/jogamp/opengl/GLContextImpl.java
+++ b/src/jogl/classes/jogamp/opengl/GLContextImpl.java
@@ -552,7 +552,7 @@ public abstract class GLContextImpl extends GLContext {
AbstractGraphicsDevice device = config.getScreen().getDevice();
GLCapabilitiesImmutable glCaps = (GLCapabilitiesImmutable) config.getChosenCapabilities();
GLProfile glp = glCaps.getGLProfile();
- GLProfile glpImpl = GLProfile.get(glp.getImplName());
+ GLProfile glpImpl = glp.getImpl();
if (DEBUG) {
System.err.println(getThreadName() + ": !!! createContextARB: mappedVersionsAvailableSet("+device.getConnection()+"): "+