mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-03-23 21:55:12 +00:00
SDL_MouseQuit(): clear mouse->cur_cursor (Bug 4530)
This commit is contained in:
parent
7b27594274
commit
28f54ee439
|
@ -607,6 +607,7 @@ SDL_MouseQuit(void)
|
||||||
cursor = next;
|
cursor = next;
|
||||||
}
|
}
|
||||||
mouse->cursors = NULL;
|
mouse->cursors = NULL;
|
||||||
|
mouse->cur_cursor = NULL;
|
||||||
|
|
||||||
if (mouse->def_cursor && mouse->FreeCursor) {
|
if (mouse->def_cursor && mouse->FreeCursor) {
|
||||||
mouse->FreeCursor(mouse->def_cursor);
|
mouse->FreeCursor(mouse->def_cursor);
|
||||||
|
|
Loading…
Reference in a new issue