Function sdl2_sys::SDL_FreeCursor

source ·
pub unsafe extern "C" fn SDL_FreeCursor(cursor: *mut SDL_Cursor)
Expand description

Free a previously-created cursor.

Use this function to free cursor resources created with SDL_CreateCursor(), SDL_CreateColorCursor() or SDL_CreateSystemCursor().

\param cursor the cursor to free

\since This function is available since SDL 2.0.0.

\sa SDL_CreateColorCursor \sa SDL_CreateCursor \sa SDL_CreateSystemCursor