Просмотр исходного кода

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 20 часов назад
Родитель
Сommit
f860d9d592
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      include/SDL3/SDL_gpu.h

+ 3 - 1
include/SDL3/SDL_gpu.h

@@ -2459,7 +2459,9 @@ extern SDL_DECLSPEC int SDLCALL SDL_GetNumGPUDrivers(void);
  * meant to be proper names.
  *
  * \param index the index of a GPU driver.
- * \returns the name of the GPU driver with the given **index**.
+ * \returns the name of the GPU driver with the given **index** or NULL when
+ *          the index is out of bounds; call SDL_GetError() for more
+ *          information.
  *
  * \since This function is available since SDL 3.2.0.
  *