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.
main
Sam Lantinga 2024-03-31 12:42:50 -07:00
parent e055a9fc2d
commit fbbee04423
1 changed files with 3 additions and 0 deletions

View File

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