From f860d9d592fde0668ffdc3e7e0f09542e772b862 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Tue, 16 Jun 2026 02:19:11 +0000 Subject: [PATCH] Sync SDL3 wiki -> header [ci skip] --- include/SDL3/SDL_gpu.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/SDL3/SDL_gpu.h b/include/SDL3/SDL_gpu.h index 065c00bc65..c4fc914638 100644 --- a/include/SDL3/SDL_gpu.h +++ b/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. *