mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +00:00
SDL:Auto grab input
This commit is contained in:
parent
974a8e3e2b
commit
66e13cf1cc
1 changed files with 3 additions and 0 deletions
|
@ -1319,6 +1319,9 @@ static SDL_bool Impl_CreateWindow(SDL_bool fullscreen)
|
|||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
SDL_RaiseWindow(window);
|
||||
SDL_SetWindowGrab(window, SDL_TRUE);
|
||||
|
||||
// Renderer-specific stuff
|
||||
#ifdef HWRENDER
|
||||
if (rendermode == render_opengl)
|
||||
|
|
Loading…
Reference in a new issue