aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/jogl
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-05-07 18:23:26 +0000
committerCarsten Weisse <[email protected]>2005-05-07 18:23:26 +0000
commit79288e2165c844ff6435a868ea52a961f4aecbf7 (patch)
treee5025ad42a94bb9a684857c1a2b73ca4ee12f978 /src/jake2/render/jogl
parent18826312798b2d0f90625253259be1b98cafbe53 (diff)
helper functions to get the OpenGL version as float value
Diffstat (limited to 'src/jake2/render/jogl')
-rw-r--r--src/jake2/render/jogl/Main.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jake2/render/jogl/Main.java b/src/jake2/render/jogl/Main.java
index 8feb5cf..7d2523a 100644
--- a/src/jake2/render/jogl/Main.java
+++ b/src/jake2/render/jogl/Main.java
@@ -2,7 +2,7 @@
* Main.java
* Copyright (C) 2003
*
- * $Id: Main.java,v 1.7 2005-04-07 15:25:49 cawe Exp $
+ * $Id: Main.java,v 1.8 2005-05-07 18:23:26 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -1118,6 +1118,8 @@ public abstract class Main extends Base {
VID.Printf(Defines.PRINT_ALL, "GL_VERSION: " + gl_config.version_string + '\n');
gl_config.extensions_string = gl.glGetString(GL.GL_EXTENSIONS);
VID.Printf(Defines.PRINT_ALL, "GL_EXTENSIONS: " + gl_config.extensions_string + '\n');
+
+ gl_config.parseOpenGLVersion();
String renderer_buffer = gl_config.renderer_string.toLowerCase();
String vendor_buffer = gl_config.vendor_string.toLowerCase();