* Ensure LwjglOffscreenBuffer extracts the required natives
* Fix Installer class in SDK to use NativeLibraryLoader.setCustomNativesFolder() instead of the Natives.setCustomDir()
This commit is contained in:
parent
6ec736c005
commit
cc20781a02
@ -145,6 +145,7 @@ public class LwjglOffscreenBuffer extends LwjglContext implements Runnable {
|
||||
}
|
||||
|
||||
public void run(){
|
||||
loadNatives();
|
||||
logger.log(Level.FINE, "Using LWJGL {0}", Sys.getVersion());
|
||||
initInThread();
|
||||
while (!needClose.get()){
|
||||
|
@ -109,8 +109,8 @@ public class Installer extends ModuleInstall {
|
||||
logger.log(Level.INFO, "Create settings dir {0}", projectDir);
|
||||
file.mkdirs();
|
||||
}
|
||||
com.jme3.system.Natives.setExtractionDir(jmpDir);
|
||||
|
||||
com.jme3.system.NativeLibraryLoader.setCustomExtractionFolder(jmpDir);
|
||||
//avoid problems with lightweight popups
|
||||
JPopupMenu.setDefaultLightWeightPopupEnabled(false);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user