mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-07 07:24:20 +00:00
All classes use Sys.initialize now
This commit is contained in:
parent
c093f3ace1
commit
b98677fb47
14 changed files with 1285 additions and 1308 deletions
|
|
@ -217,7 +217,7 @@ public class Mouse {
|
|||
* Static initialization
|
||||
*/
|
||||
private static void initialize() {
|
||||
System.loadLibrary(Sys.getLibraryName());
|
||||
Sys.initialize();
|
||||
initIDs();
|
||||
|
||||
// Assign names to all the buttons
|
||||
|
|
@ -245,9 +245,7 @@ public class Mouse {
|
|||
if (!Window.isCreated())
|
||||
throw new IllegalStateException("Window must be created prior to creating mouse");
|
||||
|
||||
if (!initialized) {
|
||||
initialize();
|
||||
}
|
||||
initialize();
|
||||
if (created) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue