From fefd11bb37abc0eff255ff1ad7506c95e13e7b11 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 25 Nov 2010 16:26:41 +0100 Subject: GLProfile/Debug: Dump Version info upfront, otherwise we won't see it with an exception. Also adding current thread name. --- src/jogl/classes/javax/media/opengl/GLProfile.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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); -- cgit v1.2.3