|
From: Elias N. <eli...@us...> - 2004-04-07 08:08:38
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29140/src/java/org/lwjgl/opengl Modified Files: Window.java Log Message: Folded read into poll to simplify interface Index: Window.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/Window.java,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- Window.java 4 Apr 2004 14:10:19 -0000 1.45 +++ Window.java 7 Apr 2004 07:55:42 -0000 1.46 @@ -241,22 +241,13 @@ // Poll the input devices while we're here if (Mouse.isCreated()) { Mouse.poll(); - if (Mouse.isBuffered()) { - Mouse.read(); - } Mouse.updateCursor(); } if (Keyboard.isCreated()) { Keyboard.poll(); - if (Keyboard.isBuffered()) { - Keyboard.read(); - } } if (Controller.isCreated()) { Controller.poll(); - if (Controller.isBuffered()) { - Controller.read(); - } } } |