native loader: set lwjgl library path for lwjgl3

experimental
Kirill Vainer 9 years ago
parent 5e8f5e6a1f
commit 810c7b6fa6
  1. 2
      jme3-desktop/src/main/java/com/jme3/system/NativeLibraryLoader.java

@ -671,7 +671,7 @@ public final class NativeLibraryLoader {
} finally {
// XXX: HACK. Vary loading method based on library name..
// lwjgl and jinput handle loading by themselves.
if (name.equals("lwjgl")) {
if (name.equals("lwjgl") || name.equals("lwjgl3")) {
System.setProperty("org.lwjgl.librarypath",
extactionDirectory.getAbsolutePath());
} else if (name.equals("jinput")) {

Loading…
Cancel
Save