Переглянути джерело

* Ensure LwjglOffscreenBuffer extracts the required natives
* Fix Installer class in SDK to use NativeLibraryLoader.setCustomNativesFolder() instead of the Natives.setCustomDir()

shadowislord 11 роки тому
батько
коміт
75ccfcd16e
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      jme3-core/src/com/jme3/gde/core/Installer.java

+ 2 - 2
jme3-core/src/com/jme3/gde/core/Installer.java

@@ -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);
     }