Explorar el Código

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

Sylvain Becker hace 7 años
padre
commit
28f54ee439
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/events/SDL_mouse.c

+ 1 - 0
src/events/SDL_mouse.c

@@ -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);