From 07b0ec539f46434ff89ec82e608e5421bcecf5f0 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 9 Aug 2022 09:05:08 -0400 Subject: [PATCH] SDL_video.h: Added \since info to new APIs. --- include/SDL_video.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/SDL_video.h b/include/SDL_video.h index 53dc51d21..0b1065dbb 100644 --- a/include/SDL_video.h +++ b/include/SDL_video.h @@ -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 */