From 005e602d7494e7963d051c3ed1d78bdb2a534fb7 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Wed, 23 Feb 2005 22:49:50 +0000 Subject: 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 --- src/net/java/games/jogl/impl/Debug.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/java/games/jogl/impl') 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) { -- cgit v1.2.3