SDL: y input is flipped

This commit is contained in:
Alam Ed Arias 2017-08-07 16:37:03 -04:00
parent c25b2eb37f
commit 35404be1e0
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{