Explorar el Código

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot hace 1 día
padre
commit
f860d9d592
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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.
  *