diff options
author | Sven Gothel <[email protected]> | 2012-10-29 11:52:51 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-29 11:52:51 +0100 |
commit | a192426862ad6f05c3351dbaf9880d00707c01bc (patch) | |
tree | 8f166f7f83f19fd8a18f6c33927904fe099d2f1c | |
parent | bf0d4a8840addbd099b7b771c25f7135c64132a8 (diff) |
GLContextImpl GLRendererQuirks.RequiresBoundVAO: Use isGL3() instead of simple major version number check.
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLContextImpl.java | 2 |
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 48184119b..a211f3840 100644 --- a/src/jogl/classes/jogamp/opengl/GLContextImpl.java +++ b/src/jogl/classes/jogamp/opengl/GLContextImpl.java @@ -1311,7 +1311,7 @@ public abstract class GLContextImpl extends GLContext { System.err.println("Quirk: "+GLRendererQuirks.toString(quirk1)+": cause: OS "+Platform.getOSType()); } quirks[i++] = quirk1; - if( 3 <= ctxMajorVersion ) { + if( isGL3() ) { final int quirk2 = GLRendererQuirks.RequiresBoundVAO; if(DEBUG) { System.err.println("Quirk: "+GLRendererQuirks.toString(quirk2)+": cause: OS "+Platform.getOSType()); |