Browse Source

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

Ryan C. Gordon 2 years ago
parent
commit
07b0ec539f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      include/SDL_video.h

+ 4 - 0
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
  */