mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-15 09:18:27 +00:00
Ensure that all functions that follow the SDL_GetStringRule return temporary memory
This commit is contained in:
parent
fd9fe1bb7b
commit
68322ac851
12 changed files with 15 additions and 36 deletions
|
@ -723,8 +723,6 @@ typedef struct SDL_PixelFormatDetails
|
|||
/**
|
||||
* Get the human readable name of a pixel format.
|
||||
*
|
||||
* The returned string follows the SDL_GetStringRule, and will be automatically freed later.
|
||||
*
|
||||
* \param format the pixel format to query.
|
||||
* \returns the human readable name of the specified pixel format or
|
||||
* "SDL_PIXELFORMAT_UNKNOWN" if the format isn't recognized.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue