mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 14:35:58 +00:00
Encapsulated LIBRARY_NAME
This commit is contained in:
parent
c6c26e568d
commit
72fedde744
10 changed files with 15 additions and 16 deletions
|
|
@ -79,7 +79,7 @@ public final class Sys {
|
|||
}
|
||||
|
||||
/** The native library name */
|
||||
public static String LIBRARY_NAME;
|
||||
private static String LIBRARY_NAME;
|
||||
|
||||
static {
|
||||
try {
|
||||
|
|
@ -91,6 +91,13 @@ public final class Sys {
|
|||
LIBRARY_NAME = "lwjgl_d";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the name of the native library to load
|
||||
*/
|
||||
public static String getLibraryName() {
|
||||
return LIBRARY_NAME;
|
||||
}
|
||||
|
||||
/**
|
||||
* No constructor for Sys.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue