Fixed mouse grabbing on secondary monitors.

Added extra device polling when vsync is enabled, to reduce input lag.
This commit is contained in:
Ioannis Tsakpinis 2010-03-31 23:56:24 +00:00
parent 0f711dc537
commit 6998610cce
3 changed files with 10 additions and 2 deletions

View file

@ -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);
}
}