SDL_MouseQuit(): clear mouse->cur_cursor (Bug 4530)

This commit is contained in:
Sylvain Becker 2019-03-11 15:31:46 +01:00
parent 7b27594274
commit 28f54ee439
1 changed files with 1 additions and 0 deletions

View File

@ -607,6 +607,7 @@ SDL_MouseQuit(void)
cursor = next;
}
mouse->cursors = NULL;
mouse->cur_cursor = NULL;
if (mouse->def_cursor && mouse->FreeCursor) {
mouse->FreeCursor(mouse->def_cursor);