docs: Note that you don't need to free SDL_GetDefaultCursor's results.

Reference Issue #6777.
This commit is contained in:
Ryan C. Gordon 2022-12-09 22:07:22 -05:00
parent 99baebf5eb
commit 16f8dfcef9
No known key found for this signature in database
GPG key ID: FA148B892AB48044

View file

@ -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.