diff --git a/src/events/SDL_mouse.c b/src/events/SDL_mouse.c index 8a87e546a..969b33d45 100644 --- a/src/events/SDL_mouse.c +++ b/src/events/SDL_mouse.c @@ -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);