mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 14:35:58 +00:00
Windows: Removed an unused parameter from WindowsDisplay.clipCursor
This commit is contained in:
parent
436cd2e39c
commit
8bb3e5aec0
2 changed files with 4 additions and 5 deletions
|
|
@ -161,7 +161,7 @@ final class WindowsDisplay implements DisplayImplementation {
|
|||
static void resetCursorClipping() {
|
||||
if (cursor_clipped) {
|
||||
try {
|
||||
clipCursor(0, null);
|
||||
clipCursor(null);
|
||||
} catch (LWJGLException e) {
|
||||
LWJGLUtil.log("Failed to reset cursor clipping: " + e);
|
||||
}
|
||||
|
|
@ -192,9 +192,9 @@ final class WindowsDisplay implements DisplayImplementation {
|
|||
cursor_clipped = true;
|
||||
getGlobalClientRect(hwnd, rect);
|
||||
rect.copyToBuffer(rect_buffer);
|
||||
clipCursor(hwnd, rect_buffer);
|
||||
clipCursor(rect_buffer);
|
||||
}
|
||||
private static native void clipCursor(long hwnd, IntBuffer rect) throws LWJGLException;
|
||||
private static native void clipCursor(IntBuffer rect) throws LWJGLException;
|
||||
|
||||
public void switchDisplayMode(DisplayMode mode) throws LWJGLException {
|
||||
nSwitchDisplayMode(mode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue