aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2
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
parent766df70c8e84952f3601483a95f5fe5d3539d1f8 (diff)
print jogl version during initialization
Diffstat (limited to 'src/jake2')
-rw-r--r--src/jake2/render/fastjogl/Main.java4
-rw-r--r--src/jake2/render/jogl/Main.java4
2 files changed, 6 insertions, 2 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);
diff --git a/src/jake2/render/jogl/Main.java b/src/jake2/render/jogl/Main.java
index ce5c8fe..c693e02 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.5 2004-07-16 10:11:35 cawe Exp $
+ * $Id: Main.java,v 1.6 2004-12-08 09:58:34 hzi Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -41,6 +41,7 @@ import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import net.java.games.jogl.GL;
+import net.java.games.jogl.Version;
/**
* Main
@@ -1108,6 +1109,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);