summaryrefslogtreecommitdiffstats
path: root/src/jake2/sys
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/sys')
-rw-r--r--src/jake2/sys/LWJGLKBD.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/jake2/sys/LWJGLKBD.java b/src/jake2/sys/LWJGLKBD.java
index 071a212..9373cba 100644
--- a/src/jake2/sys/LWJGLKBD.java
+++ b/src/jake2/sys/LWJGLKBD.java
@@ -25,11 +25,7 @@ public class LWJGLKBD extends KBD {
{
if (!Keyboard.isCreated()) Keyboard.create();
if (!Mouse.isCreated()) Mouse.create();
-
- if (!Keyboard.isBuffered()) Keyboard.enableBuffer();
- if (!Keyboard.isTranslationEnabled()) Keyboard.enableTranslation();
- if (!Mouse.isBuffered()) Mouse.enableBuffer();
-
+
if (lwjglKeycodeMap == null) lwjglKeycodeMap = new char[256];
if (pressed == null) pressed = new int[256];