mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-07 07:24:20 +00:00
Clean state after destroy
This commit is contained in:
parent
1c49b2f969
commit
4747c4878b
1 changed files with 5 additions and 0 deletions
|
|
@ -309,6 +309,11 @@ public class Keyboard {
|
|||
return;
|
||||
created = false;
|
||||
Display.getImplementation().destroyKeyboard();
|
||||
keyDownBuffer.clear();
|
||||
readBuffer.clear();
|
||||
eventCharacter = 0;
|
||||
eventKey = 0;
|
||||
eventState = false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue