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
b3fa9a3e55
commit
e2229f727f
1 changed files with 1 additions and 0 deletions
|
@ -362,6 +362,7 @@ SDL_MouseQuit(void)
|
||||||
SDL_Cursor *cursor, *next;
|
SDL_Cursor *cursor, *next;
|
||||||
SDL_Mouse *mouse = SDL_GetMouse();
|
SDL_Mouse *mouse = SDL_GetMouse();
|
||||||
|
|
||||||
|
SDL_SetRelativeMouseMode(SDL_FALSE);
|
||||||
SDL_ShowCursor(1);
|
SDL_ShowCursor(1);
|
||||||
|
|
||||||
cursor = mouse->cursors;
|
cursor = mouse->cursors;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue