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 */