mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
Revert "- make SDL mouse scaling match that of Windows for consistency."
This reverts commit 8578c11789
.
This caused more problems than it cured.
This commit is contained in:
parent
1d863d6cab
commit
5595eb6280
1 changed files with 6 additions and 2 deletions
|
@ -225,10 +225,14 @@ static void MouseRead ()
|
|||
}
|
||||
|
||||
SDL_GetRelativeMouseState (&x, &y);
|
||||
|
||||
if (!m_noprescale)
|
||||
{
|
||||
x *= 3;
|
||||
y *= 2;
|
||||
}
|
||||
if (x | y)
|
||||
{
|
||||
PostMouseMove (m_noprescale ? x : x << 2, -y);
|
||||
PostMouseMove (x, -y);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue