mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-17 14:47:19 +01: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 New Issue
Block a user