mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 14:35:58 +00:00
AppletLoader: set java.library.path to the folder containing natives, this should make it easier when using extra custom native files.
This commit is contained in:
parent
020a55d74f
commit
bca5e48ea7
1 changed files with 3 additions and 0 deletions
|
|
@ -892,6 +892,9 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
|
|||
// Make sure jinput knows about the new path too
|
||||
System.setProperty("net.java.games.input.librarypath", path + "natives");
|
||||
|
||||
// set the library path, should make it easier when using additional custom natives
|
||||
System.setProperty("java.library.path", path + "natives");
|
||||
|
||||
// mark natives as loaded
|
||||
natives_loaded = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue