Commented out the enableBuffer methods. Looks like these methods wont be
implemented in the JNI side, so they should not exist in the API.
This commit is contained in:
parent
004ee911d2
commit
f7521462ff
|
@ -193,23 +193,23 @@ public class Mouse {
|
||||||
return Mouse.button[button];
|
return Mouse.button[button];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* Enable mouse buffering. Must be called after the mouse is created.
|
// * 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
|
// * @return the size of the mouse buffer in events, or 0 if no buffering
|
||||||
* can be enabled for any reason
|
// * can be enabled for any reason
|
||||||
*/
|
// */
|
||||||
public static int enableBuffer() {
|
// public static int enableBuffer() {
|
||||||
assert created : "The mouse has not been created.";
|
// assert created : "The mouse has not been created.";
|
||||||
return nEnableBuffer();
|
// return nEnableBuffer();
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* Native method to enable the buffer
|
// * Native method to enable the buffer
|
||||||
* @return the size of the buffer allocated, in events (1 event is 2 bytes),
|
// * @return the size of the buffer allocated, in events (1 event is 2 bytes),
|
||||||
* or 0 if no buffer can be allocated
|
// * or 0 if no buffer can be allocated
|
||||||
*/
|
// */
|
||||||
private static native int nEnableBuffer();
|
// private static native int nEnableBuffer();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue