mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-03-17 02:34:39 +01:00
Win32: Mouse native cursor fixes
This commit is contained in:
parent
b121cd0fc7
commit
2951ef02cc
|
|
@ -88,8 +88,8 @@ static void resetCursorPos(void) {
|
|||
getScreenClientRect(&clientRect, &windowRect);
|
||||
cursorPos.x = (clientRect.left + clientRect.right)/2;
|
||||
cursorPos.y = clientRect.bottom - 1 - (clientRect.bottom - clientRect.top)/2;
|
||||
SetCursorPos(cursorPos.x, cursorPos.y);
|
||||
GetCursorPos(&cursorPos);
|
||||
/* SetCursorPos(cursorPos.x, cursorPos.y);
|
||||
GetCursorPos(&cursorPos);*/
|
||||
}
|
||||
|
||||
JNIEXPORT jboolean JNICALL Java_org_lwjgl_input_Mouse_nHasWheel(JNIEnv *, jclass) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue