mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-12 21:01:00 +00:00
SDL: y input is flipped
This commit is contained in:
parent
c25b2eb37f
commit
35404be1e0
1 changed files with 1 additions and 1 deletions
|
@ -624,7 +624,7 @@ static void Impl_HandleMouseMotionEvent(SDL_MouseMotionEvent evt)
|
|||
if (SDL_GetRelativeMouseMode())
|
||||
{
|
||||
event.data2 = evt.xrel;
|
||||
event.data3 = evt.yrel;
|
||||
event.data3 = -evt.yrel;
|
||||
}
|
||||
else if ((evt.x == realwidth/2) && (evt.y == realheight/2))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue