mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-19 03:17:09 +00:00
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:
@@ -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