src/events/SDL_mouse.c
changeset 12620 0010b9a064d3
parent 12503 806492103856
child 12651 d188272453ce
equal deleted inserted replaced
12619:8e52484226af 12620:0010b9a064d3
   605         next = cursor->next;
   605         next = cursor->next;
   606         SDL_FreeCursor(cursor);
   606         SDL_FreeCursor(cursor);
   607         cursor = next;
   607         cursor = next;
   608     }
   608     }
   609     mouse->cursors = NULL;
   609     mouse->cursors = NULL;
       
   610     mouse->cur_cursor = NULL;
   610 
   611 
   611     if (mouse->def_cursor && mouse->FreeCursor) {
   612     if (mouse->def_cursor && mouse->FreeCursor) {
   612         mouse->FreeCursor(mouse->def_cursor);
   613         mouse->FreeCursor(mouse->def_cursor);
   613         mouse->def_cursor = NULL;
   614         mouse->def_cursor = NULL;
   614     }
   615     }