mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
A more through out attempt to lock the mouse
This commit is contained in:
parent
350a6b1027
commit
c98024aaf0
1 changed files with 1 additions and 0 deletions
|
|
@ -1320,6 +1320,7 @@ static SDL_bool Impl_CreateWindow(SDL_bool fullscreen)
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_RaiseWindow(window);
|
SDL_RaiseWindow(window);
|
||||||
|
SDL_SetRelativeMouseMode(SDL_TRUE);
|
||||||
SDL_SetWindowGrab(window, SDL_TRUE);
|
SDL_SetWindowGrab(window, SDL_TRUE);
|
||||||
|
|
||||||
// Renderer-specific stuff
|
// Renderer-specific stuff
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue