Removed debug output

This commit is contained in:
Elias Naur 2007-04-24 13:41:31 +00:00
parent 13cec51058
commit 6402783a9e
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -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();