mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-04 14:07:52 +00:00
Encapsulated LIBRARY_NAME (properly!)
This commit is contained in:
parent
c3d2c45cb3
commit
c564bc582d
1 changed files with 2 additions and 4 deletions
|
|
@ -74,10 +74,6 @@ public final class Sys {
|
|||
*/
|
||||
public static final int REALTIME_PRIORITY = 2;
|
||||
|
||||
static {
|
||||
initialize();
|
||||
}
|
||||
|
||||
/** The native library name */
|
||||
private static String LIBRARY_NAME;
|
||||
|
||||
|
|
@ -89,6 +85,8 @@ public final class Sys {
|
|||
// Assertions are enabled, so we'll use the debug version of the
|
||||
// library
|
||||
LIBRARY_NAME = "lwjgl_d";
|
||||
} finally {
|
||||
initialize();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue