From ac358bd66878e63a370377d4c7f625ec5b1b9e31 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 23 Sep 2011 15:38:28 +0200 Subject: Use Platform's initSingleton() instead of JVMUtil's (private package) ; Use TempJarCache if used. --- src/newt/classes/com/jogamp/newt/NewtFactory.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/newt') 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)); } -- cgit v1.2.3