From a192426862ad6f05c3351dbaf9880d00707c01bc Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 29 Oct 2012 11:52:51 +0100 Subject: GLContextImpl GLRendererQuirks.RequiresBoundVAO: Use isGL3() instead of simple major version number check. --- src/jogl/classes/jogamp/opengl/GLContextImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/classes/jogamp') 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()); -- cgit v1.2.3