mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Revert "Still clear pending mouse motion"
This reverts commit 2c565a33ab
.
This commit is contained in:
parent
b73ae46191
commit
5dbc6416d1
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue