From: Luke H. <lh...@us...> - 2002-12-18 21:57:37
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/input In directory sc8-pr-cvs1:/tmp/cvs-serv13175 Modified Files: Mouse.java Log Message: Commented out the enableBuffer methods. Looks like these methods wont be implemented in the JNI side, so they should not exist in the API. Index: Mouse.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/input/Mouse.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/input/Mouse.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Mouse.java 28 Aug 2002 21:58:14 -0000 1.9 +++ Mouse.java 18 Dec 2002 21:57:31 -0000 1.10 @@ -193,23 +193,23 @@ return Mouse.button[button]; } - /** - * Enable mouse buffering. Must be called after the mouse is created. - * @return the size of the mouse buffer in events, or 0 if no buffering - * can be enabled for any reason - */ - public static int enableBuffer() { - assert created : "The mouse has not been created."; - return nEnableBuffer(); - } - - - /** - * Native method to enable the buffer - * @return the size of the buffer allocated, in events (1 event is 2 bytes), - * or 0 if no buffer can be allocated - */ - private static native int nEnableBuffer(); +// /** +// * Enable mouse buffering. Must be called after the mouse is created. +// * @return the size of the mouse buffer in events, or 0 if no buffering +// * can be enabled for any reason +// */ +// public static int enableBuffer() { +// assert created : "The mouse has not been created."; +// return nEnableBuffer(); +// } +// +// +// /** +// * Native method to enable the buffer +// * @return the size of the buffer allocated, in events (1 event is 2 bytes), +// * or 0 if no buffer can be allocated +// */ +// private static native int nEnableBuffer(); /** |