SDL_video.h: Added \since info to new APIs.

This commit is contained in:
Ryan C. Gordon 2022-08-09 09:05:08 -04:00
parent 55882e43c4
commit 07b0ec539f
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 4 additions and 0 deletions

View File

@ -604,6 +604,8 @@ extern DECLSPEC SDL_DisplayMode * SDLCALL SDL_GetClosestDisplayMode(int displayI
* \returns the index of the display containing the point or a negative error
* code on failure; call SDL_GetError() for more information.
*
* \since This function is available since SDL 2.24.0.
*
* \sa SDL_GetDisplayBounds
* \sa SDL_GetNumVideoDisplays
*/
@ -617,6 +619,8 @@ extern DECLSPEC int SDLCALL SDL_GetPointDisplayIndex(const SDL_Point * point);
* to the center of the rect on success or a negative error code on
* failure; call SDL_GetError() for more information.
*
* \since This function is available since SDL 2.24.0.
*
* \sa SDL_GetDisplayBounds
* \sa SDL_GetNumVideoDisplays
*/