mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-26 12:27:44 +00:00
Ensure that all functions that follow the SDL_GetStringRule return temporary memory
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user