Encapsulated LIBRARY_NAME (properly!)
This commit is contained in:
parent
c3d2c45cb3
commit
c564bc582d
|
@ -74,10 +74,6 @@ public final class Sys {
|
||||||
*/
|
*/
|
||||||
public static final int REALTIME_PRIORITY = 2;
|
public static final int REALTIME_PRIORITY = 2;
|
||||||
|
|
||||||
static {
|
|
||||||
initialize();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** The native library name */
|
/** The native library name */
|
||||||
private static String 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
|
// Assertions are enabled, so we'll use the debug version of the
|
||||||
// library
|
// library
|
||||||
LIBRARY_NAME = "lwjgl_d";
|
LIBRARY_NAME = "lwjgl_d";
|
||||||
|
} finally {
|
||||||
|
initialize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue