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
parent
e055a9fc2d
commit
fbbee04423
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue