mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-29 05:41:02 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!wrapmouseok)
|
if (SDL_GetRelativeMouseMode())
|
||||||
{
|
{
|
||||||
event.data2 = evt.xrel;
|
event.data2 = evt.xrel;
|
||||||
event.data3 = evt.yrel;
|
event.data3 = evt.yrel;
|
||||||
|
|
Loading…
Reference in a new issue