mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-04 22:17:59 +00:00
*** empty log message ***
This commit is contained in:
parent
ba01e888fb
commit
4a13ffa90f
3 changed files with 27 additions and 15 deletions
|
|
@ -134,18 +134,6 @@ public final class Sys {
|
|||
|
||||
PLATFORM = System.getProperty("org.lwjgl.Sys.platform", "org.lwjgl.SwingAdapter");
|
||||
|
||||
Runtime.getRuntime().addShutdownHook(new Thread() {
|
||||
public void run() {
|
||||
Display.destroy();
|
||||
if (Keyboard.isCreated())
|
||||
Keyboard.destroy();
|
||||
if (Mouse.isCreated())
|
||||
Mouse.destroy();
|
||||
if (Controller.isCreated())
|
||||
Controller.destroy();
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue