浏览代码

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 2 月之前
父节点
当前提交
2606b08036
共有 1 个文件被更改,包括 2 次插入1 次删除
  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.
  *