Skip to content
Snippets Groups Projects
Commit 40a037f6 authored by SteelT's avatar SteelT
Browse files

A more through out attempt to lock the mouse

parent 66e13cf1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment