mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 07:12:03 +00:00
A more through out attempt to lock the mouse
This commit is contained in:
parent
66e13cf1cc
commit
40a037f603
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…
Reference in a new issue