mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Clean up the cursor clipping area when quitting SDL.
This fixes the cursor being clipped after the streaming client quits when streaming Dungeons of Dredmor
This commit is contained in:
parent
77d2d55e1e
commit
43825e275a
@ -362,6 +362,7 @@ SDL_MouseQuit(void)
|
||||
SDL_Cursor *cursor, *next;
|
||||
SDL_Mouse *mouse = SDL_GetMouse();
|
||||
|
||||
SDL_SetRelativeMouseMode(SDL_FALSE);
|
||||
SDL_ShowCursor(1);
|
||||
|
||||
cursor = mouse->cursors;
|
||||
|
Loading…
Reference in New Issue
Block a user