aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/fastjogl/Main.java
diff options
context:
space:
mode:
authorHolger Zickner <[email protected]>2004-12-08 09:58:34 +0000
committerHolger Zickner <[email protected]>2004-12-08 09:58:34 +0000
commita762a826574cb72f19ccbe1870688ff1b6010b77 (patch)
tree60a827cfcacf25cc903c9b592014babdb9544049 /src/jake2/render/fastjogl/Main.java
parent766df70c8e84952f3601483a95f5fe5d3539d1f8 (diff)
print jogl version during initialization
Diffstat (limited to 'src/jake2/render/fastjogl/Main.java')
-rw-r--r--src/jake2/render/fastjogl/Main.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jake2/render/fastjogl/Main.java b/src/jake2/render/fastjogl/Main.java
index 44c31c8..8633143 100644
--- a/src/jake2/render/fastjogl/Main.java
+++ b/src/jake2/render/fastjogl/Main.java
@@ -2,7 +2,7 @@
* Main.java
* Copyright (C) 2003
*
- * $Id: Main.java,v 1.4 2004-07-19 19:39:57 hzi Exp $
+ * $Id: Main.java,v 1.5 2004-12-08 09:58:34 hzi Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -43,6 +43,7 @@ import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import net.java.games.jogl.GL;
+import net.java.games.jogl.Version;
/**
* Main
@@ -1113,6 +1114,7 @@ public abstract class Main extends Base {
/*
** get our various GL strings
*/
+ VID.Printf(Defines.PRINT_ALL, "JOGL_VERSION: " + Version.getVersion() + '\n');
gl_config.vendor_string = gl.glGetString(GL.GL_VENDOR);
VID.Printf(Defines.PRINT_ALL, "GL_VENDOR: " + gl_config.vendor_string + '\n');
gl_config.renderer_string = gl.glGetString(GL.GL_RENDERER);