diff options
author | Sven Gothel <[email protected]> | 2009-07-31 20:47:32 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-07-31 20:47:32 -0700 |
commit | a9439fa3ecd366c419815959daedc030f4b8b4e1 (patch) | |
tree | 2ee7176b4cea3a1ba6ce8755470bf3b463dfff82 /src | |
parent | 1394a508ab1191e4c200e68342a1b612ba7ff4cc (diff) |
Fix: GL2ES1 mapping to GL2ES12 if available
Diffstat (limited to 'src')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLProfile.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLProfile.java b/src/jogl/classes/javax/media/opengl/GLProfile.java index 8b23bed04..756c80009 100644 --- a/src/jogl/classes/javax/media/opengl/GLProfile.java +++ b/src/jogl/classes/javax/media/opengl/GLProfile.java @@ -768,10 +768,10 @@ public class GLProfile implements Cloneable { */ private static String computeProfileImpl(String profile) { if (GL2ES1.equals(profile)) { - if(hasGL2Impl) { - return GL2; - } else if(hasGL2ES12Impl) { + if(hasGL2ES12Impl) { return GL2ES12; + } else if(hasGL2Impl) { + return GL2; } else if(hasGLES1Impl) { return GLES1; } |