Selaa lähdekoodia

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 2 kuukautta sitten
vanhempi
commit
2606b08036
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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.
  * to be proper names.
  *
  *
  * \param index the index of a video driver.
  * \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.
  * \threadsafety This function should only be called on the main thread.
  *
  *