destroy method
void
destroy()
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.
\threadsafety This function should only be called on the main thread.
\since This function is available since SDL 3.1.3.
\sa SDL_CreateColorCursor \sa SDL_CreateCursor \sa SDL_CreateSystemCursor
extern SDL_DECLSPEC void SDLCALL SDL_DestroyCursor(SDL_Cursor *cursor)
Implementation
void destroy() {
sdlDestroyCursor(this);
}