Revert "Only clear the raw input queue status if we don't call GetRawInputBuffer()"
This reverts commit 02c63667c7.
It turns out that QS_RAWINPUT isn't actually cleared by GetRawInputBuffer(). See https://github.com/libsdl-org/SDL/issues/9409 for more details.
This commit is contained in:
1 parent
e055a9fc2d
commit
fbbee04423
1 file changed
+3
@@ -83,6 +83,9 @@ static DWORD WINAPI WIN_RawInputThread(LPVOID param)
|
||||
break;
|
||||
}
|
||||
|
||||
/* Clear the queue status so MsgWaitForMultipleObjects() will wait again */
|
||||
(void)GetQueueStatus(QS_RAWINPUT);
|
||||
|
||||
WIN_PollRawInput(_this);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user