From 729f4ef2d7e1bbb2748d71998046818aeabcd558 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 25 Oct 2014 00:33:58 +0200 Subject: GLContext.Version* VersionNumber Constants: Clarify names, avoiding mis-interpretation alike Version130 -> [ 1.3.0 | 1.30.0 ] ? --- make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make/config/jogl') diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java b/make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java index a8b5f8320..c7b264bf9 100644 --- a/make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java @@ -36,7 +36,7 @@ public final void finalizeInit() { haveGL15 = isExtensionAvailable("GL_VERSION_1_5"); haveGL21 = isExtensionAvailable("GL_VERSION_2_1"); haveARBVertexBufferObject = isExtensionAvailable("GL_ARB_vertex_buffer_object"); - haveARBVertexArrayObject = _context.getGLVersionNumber().compareTo(GLContext.Version300) >= 0 || + haveARBVertexArrayObject = _context.getGLVersionNumber().compareTo(GLContext.Version3_0) >= 0 || isExtensionAvailable("GL_ARB_vertex_array_object"); } else { haveARBPixelBufferObject = false; -- cgit v1.2.3