Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SDL_MouseQuit(): clear mouse->cur_cursor (Bug 4530)
  • Loading branch information
1bsyl committed Mar 11, 2019
1 parent 7b27594 commit 28f54ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/events/SDL_mouse.c
Expand Up @@ -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);
Expand Down

0 comments on commit 28f54ee

Please sign in to comment.