mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-22 05:21:11 +00:00
SDL2: check Rel Mouse Mode directly
This commit is contained in:
parent
246e0c21be
commit
366e870b0e
1 changed files with 1 additions and 1 deletions
|
|
@ -749,7 +749,7 @@ static void Impl_HandleMouseMotionEvent(SDL_MouseMotionEvent evt)
|
|||
return;
|
||||
}
|
||||
|
||||
if (!wrapmouseok)
|
||||
if (SDL_GetRelativeMouseMode())
|
||||
{
|
||||
event.data2 = evt.xrel;
|
||||
event.data3 = evt.yrel;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue