mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-20 21:52:33 +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_SetRelativeMouseMode(SDL_TRUE);
|
||||
SDL_SetWindowGrab(window, SDL_TRUE);
|
||||
|
||||
// Renderer-specific stuff
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue