summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-02-23 22:49:50 +0000
committerKenneth Russel <[email protected]>2005-02-23 22:49:50 +0000
commit005e602d7494e7963d051c3ed1d78bdb2a534fb7 (patch)
treee9907676482f4ded4946286310b128629bdbe165 /src
parent275675c380de6b4583993998cafe29ef469a1a86 (diff)
Added version string to verbose output
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@239 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src')
-rwxr-xr-xsrc/net/java/games/jogl/impl/Debug.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/java/games/jogl/impl/Debug.java b/src/net/java/games/jogl/impl/Debug.java
index ad0092a6f..0082899ac 100755
--- a/src/net/java/games/jogl/impl/Debug.java
+++ b/src/net/java/games/jogl/impl/Debug.java
@@ -40,6 +40,7 @@
package net.java.games.jogl.impl;
import java.security.*;
+import net.java.games.jogl.Version;
/** Helper routines for logging and debugging. */
@@ -51,6 +52,9 @@ public class Debug {
static {
verbose = isPropertyDefined("jogl.verbose");
debugAll = isPropertyDefined("jogl.debug");
+ if (verbose) {
+ System.err.println("JOGL version " + Version.getVersion());
+ }
}
public static boolean getBooleanProperty(final String property) {