aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-10-25 00:33:58 +0200
committerSven Gothel <[email protected]>2014-10-25 00:33:58 +0200
commit729f4ef2d7e1bbb2748d71998046818aeabcd558 (patch)
tree33f0bf308d284d8acf25688536663390bc4a1b92 /make
parentaaaa48f4401555612ece10fce5dfe6163587f420 (diff)
GLContext.Version* VersionNumber Constants: Clarify names, avoiding mis-interpretation alike Version130 -> [ 1.3.0 | 1.30.0 ] ?
Diffstat (limited to 'make')
-rw-r--r--make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java2
1 files changed, 1 insertions, 1 deletions
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;