From 810c7b6fa60165b0ccd88b390e220a0b99387040 Mon Sep 17 00:00:00 2001 From: Kirill Vainer Date: Wed, 21 Oct 2015 16:43:13 -0400 Subject: [PATCH] native loader: set lwjgl library path for lwjgl3 --- .../src/main/java/com/jme3/system/NativeLibraryLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-desktop/src/main/java/com/jme3/system/NativeLibraryLoader.java b/jme3-desktop/src/main/java/com/jme3/system/NativeLibraryLoader.java index 947129d30..32bd681c5 100644 --- a/jme3-desktop/src/main/java/com/jme3/system/NativeLibraryLoader.java +++ b/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")) {