mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
Fixed mouse grabbing on secondary monitors.
Added extra device polling when vsync is enabled, to reduce input lag.
This commit is contained in:
parent
0f711dc537
commit
6998610cce
3 changed files with 10 additions and 2 deletions
|
|
@ -121,8 +121,10 @@ static void handleMessages(JNIEnv *env) {
|
|||
PM_REMOVE // removal options
|
||||
))
|
||||
{
|
||||
DispatchMessage(&msg);
|
||||
if (msg.message == WM_QUIT)
|
||||
break;
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue