summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax/media/opengl/GLProfile.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-12 07:53:37 +0100
committerSven Gothel <[email protected]>2010-12-12 07:53:37 +0100
commit599e3eb630a59a9afbce45403c0567222e6065de (patch)
tree7a8e3a47c56ac13d1aa3163de9c68aef182e9b0e /src/jogl/classes/javax/media/opengl/GLProfile.java
parentca1e14eee25536a217d682c66f9ad07d5bdf642e (diff)
GLProfile: initialize 1st, debug info later.
Debug shall not change the startup behavior
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/GLProfile.java')
-rw-r--r--src/jogl/classes/javax/media/opengl/GLProfile.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLProfile.java b/src/jogl/classes/javax/media/opengl/GLProfile.java
index c7b1e80cf..d803b8dd5 100644
--- a/src/jogl/classes/javax/media/opengl/GLProfile.java
+++ b/src/jogl/classes/javax/media/opengl/GLProfile.java
@@ -1083,6 +1083,8 @@ public class GLProfile {
*/
private static void initProfilesForDefaultDevices(boolean firstUIActionOnProcess) {
+ NativeWindowFactory.initSingleton(firstUIActionOnProcess);
+
if(DEBUG) {
System.err.println("GLProfile.init firstUIActionOnProcess: "+ firstUIActionOnProcess
+ ", thread: " + Thread.currentThread().getName());
@@ -1092,8 +1094,6 @@ public class GLProfile {
System.err.println(JoglVersion.getInstance());
}
- NativeWindowFactory.initSingleton(firstUIActionOnProcess);
-
ClassLoader classloader = GLProfile.class.getClassLoader();
isAWTAvailable = NativeWindowFactory.isAWTAvailable() &&