Free a previously-created cursor.
Defined in SDL_mouse.h
void SDL_FreeCursor(SDL_Cursor * cursor);
SDL_Cursor * | cursor | the cursor to free. |
Use this function to free cursor resources created with SDL_CreateCursor(), SDL_CreateColorCursor() or SDL_CreateSystemCursor().
This function is available since SDL 2.0.0.