aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/lwjgl/Main.java
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/lwjgl/Main.java
parent18826312798b2d0f90625253259be1b98cafbe53 (diff)
helper functions to get the OpenGL version as float value
Diffstat (limited to 'src/jake2/render/lwjgl/Main.java')
-rw-r--r--src/jake2/render/lwjgl/Main.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jake2/render/lwjgl/Main.java b/src/jake2/render/lwjgl/Main.java
index 214bab8..4d1bd73 100644
--- a/src/jake2/render/lwjgl/Main.java
+++ b/src/jake2/render/lwjgl/Main.java
@@ -2,7 +2,7 @@
* Main.java
* Copyright (C) 2003
*
- * $Id: Main.java,v 1.6 2005-04-07 15:25:49 cawe Exp $
+ * $Id: Main.java,v 1.7 2005-05-07 18:23:25 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -1111,6 +1111,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(GL11.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();