mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- make SDL mouse scaling match that of Windows for consistency.
This commit is contained in:
parent
bbacc9e816
commit
25c5b76f91
1 changed files with 2 additions and 6 deletions
|
@ -225,14 +225,10 @@ static void MouseRead ()
|
|||
}
|
||||
|
||||
SDL_GetRelativeMouseState (&x, &y);
|
||||
if (!m_noprescale)
|
||||
{
|
||||
x *= 3;
|
||||
y *= 2;
|
||||
}
|
||||
|
||||
if (x | y)
|
||||
{
|
||||
PostMouseMove (x, -y);
|
||||
PostMouseMove (m_noprescale ? x : x << 2, -y);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue