Revert "Still clear pending mouse motion"

This reverts commit 2c565a33ab.
This commit is contained in:
Jupeyy 2021-10-23 13:47:51 +02:00
parent b73ae46191
commit 5dbc6416d1

View file

@ -469,11 +469,6 @@ int CInput::Update()
if(GetMouseMode() != INPUT_MOUSE_MODE_ABSOLUTE)
{
SDL_ShowCursor(SDL_FALSE);
if(SDL_GetRelativeMouseMode())
{
// Clear pending relative mouse motion
SDL_GetRelativeMouseState(0x0, 0x0);
}
}
m_MouseFocus = true;
IgnoreKeys = true;