summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-23 15:38:28 +0200
committerSven Gothel <[email protected]>2011-09-23 15:38:28 +0200
commitac358bd66878e63a370377d4c7f625ec5b1b9e31 (patch)
tree299161692f41e9efeebb88b51ddf362ecf7ee3e5 /src/newt/classes/com/jogamp
parent5186899e05dd945eccbcd6fbb95781776d941bc5 (diff)
Use Platform's initSingleton() instead of JVMUtil's (private package) ; Use TempJarCache if used.
Diffstat (limited to 'src/newt/classes/com/jogamp')
-rw-r--r--src/newt/classes/com/jogamp/newt/NewtFactory.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/newt/classes/com/jogamp/newt/NewtFactory.java b/src/newt/classes/com/jogamp/newt/NewtFactory.java
index 62da8c978..d3be098c0 100644
--- a/src/newt/classes/com/jogamp/newt/NewtFactory.java
+++ b/src/newt/classes/com/jogamp/newt/NewtFactory.java
@@ -35,7 +35,9 @@
package com.jogamp.newt;
import javax.media.nativewindow.*;
-import com.jogamp.common.jvm.JVMUtil;
+
+import com.jogamp.common.os.Platform;
+
import jogamp.newt.DisplayImpl;
import jogamp.newt.ScreenImpl;
import jogamp.newt.WindowImpl;
@@ -47,7 +49,7 @@ public class NewtFactory {
// Work-around for initialization order problems on Mac OS X
// between native Newt and (apparently) Fmod
static {
- JVMUtil.initSingleton();
+ Platform.initSingleton();
NativeWindowFactory.initSingleton(false); // last resort ..
WindowImpl.init(NativeWindowFactory.getNativeWindowType(true));
}