Prechádzať zdrojové kódy

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 2 mesiacov pred
rodič
commit
2606b08036
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      include/SDL3/SDL_video.h

+ 2 - 1
include/SDL3/SDL_video.h

@@ -545,7 +545,8 @@ extern SDL_DECLSPEC int SDLCALL SDL_GetNumVideoDrivers(void);
  * to be proper names.
  *
  * \param index the index of a video driver.
- * \returns the name of the video driver with the given **index**.
+ * \returns the name of the video driver with the given **index**, or NULL if
+ *          index is out of bounds.
  *
  * \threadsafety This function should only be called on the main thread.
  *