diff options
author | Sven Gothel <[email protected]> | 2010-11-25 16:26:41 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-25 16:26:41 +0100 |
commit | fefd11bb37abc0eff255ff1ad7506c95e13e7b11 (patch) | |
tree | 27b0d13a4d628626613fefaf6d421c2896de87f4 | |
parent | cb83142365ddfc59fb2e494c207cba5c5a1cf3c6 (diff) |
GLProfile/Debug: Dump Version info upfront, otherwise we won't see it with an <init> exception.
Also adding current thread name.
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLProfile.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLProfile.java b/src/jogl/classes/javax/media/opengl/GLProfile.java index dab0c0daa..3bccc3b85 100644 --- a/src/jogl/classes/javax/media/opengl/GLProfile.java +++ b/src/jogl/classes/javax/media/opengl/GLProfile.java @@ -1073,7 +1073,12 @@ public class GLProfile { private static void initProfilesForDefaultDevices(boolean firstUIActionOnProcess) { if(DEBUG) { - System.err.println("GLProfile.init firstUIActionOnProcess "+firstUIActionOnProcess); + System.err.println("GLProfile.init firstUIActionOnProcess: "+ firstUIActionOnProcess + + ", thread: " + Thread.currentThread().getName()); + System.err.println(VersionUtil.getPlatformInfo()); + System.err.println(GlueGenVersion.getInstance()); + System.err.println(NativeWindowVersion.getInstance()); + System.err.println(JoglVersion.getInstance()); } NativeWindowFactory.initSingleton(firstUIActionOnProcess); @@ -1173,11 +1178,6 @@ public class GLProfile { addedAnyProfile = addedAnyProfile || initProfilesForDevice(defaultEGLDevice); if(DEBUG) { - System.err.println(VersionUtil.getPlatformInfo()); - System.err.println(GlueGenVersion.getInstance()); - System.err.println(NativeWindowVersion.getInstance()); - System.err.print(JoglVersion.getInstance()); - System.err.println("GLProfile.init isAWTAvailable "+isAWTAvailable); System.err.println("GLProfile.init has desktopFactory "+(null!=desktopFactory)); System.err.println("GLProfile.init hasDesktopGL "+hasDesktopGL); |