From f7521462ff1c6da3ca61842a2634b23f1817a5bc Mon Sep 17 00:00:00 2001 From: Luke Holden Date: Wed, 18 Dec 2002 21:57:31 +0000 Subject: [PATCH] Commented out the enableBuffer methods. Looks like these methods wont be implemented in the JNI side, so they should not exist in the API. --- src/java/org/lwjgl/input/Mouse.java | 34 ++++++++++++++--------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/java/org/lwjgl/input/Mouse.java b/src/java/org/lwjgl/input/Mouse.java index c430eea1..50d0a249 100644 --- a/src/java/org/lwjgl/input/Mouse.java +++ b/src/java/org/lwjgl/input/Mouse.java @@ -193,23 +193,23 @@ public class Mouse { 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(); /**