mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-17 17:11:19 +00:00
- make SDL mouse scaling match that of Windows for consistency.
This commit is contained in:
parent
697279063f
commit
8578c11789
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