Removed debug output
This commit is contained in:
parent
13cec51058
commit
6402783a9e
|
@ -297,7 +297,7 @@ public final class Display {
|
||||||
|
|
||||||
private static void switchDisplayMode() throws LWJGLException {
|
private static void switchDisplayMode() throws LWJGLException {
|
||||||
if (!current_mode.isFullscreen()) {
|
if (!current_mode.isFullscreen()) {
|
||||||
System.out.println("Switching to "+initial_mode);
|
LWJGLUtil.log("Switching to "+initial_mode);
|
||||||
setDisplayMode(initial_mode);
|
setDisplayMode(initial_mode);
|
||||||
}
|
}
|
||||||
display_impl.switchDisplayMode(current_mode);
|
display_impl.switchDisplayMode(current_mode);
|
||||||
|
|
|
@ -153,7 +153,6 @@ final class WindowsKeyboard {
|
||||||
|
|
||||||
private void putEvent(int virt_key, byte state, int ch, long nanos) {
|
private void putEvent(int virt_key, byte state, int ch, long nanos) {
|
||||||
int keycode = WindowsKeycodes.mapVirtualKeyToLWJGLCode(virt_key);
|
int keycode = WindowsKeycodes.mapVirtualKeyToLWJGLCode(virt_key);
|
||||||
System.out.println("virt_key = " + Integer.toHexString(virt_key) + " = " + virt_key + " | keycode = " + Keyboard.getKeyName(keycode));
|
|
||||||
if (keycode < key_down_buffer.length)
|
if (keycode < key_down_buffer.length)
|
||||||
key_down_buffer[keycode] = state;
|
key_down_buffer[keycode] = state;
|
||||||
tmp_event.clear();
|
tmp_event.clear();
|
||||||
|
|
Loading…
Reference in New Issue