mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
docs: Note that you don't need to free SDL_GetDefaultCursor's results.
Reference Issue #6777.
This commit is contained in:
@@ -391,6 +391,9 @@ extern DECLSPEC SDL_Cursor *SDLCALL SDL_GetCursor(void);
|
||||
/**
|
||||
* Get the default cursor.
|
||||
*
|
||||
* You do not have to call SDL_FreeCursor() on the return value,
|
||||
* but it is safe to do so.
|
||||
*
|
||||
* \returns the default cursor on success or NULL on failure.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
|
Reference in New Issue
Block a user