From 543e3e13a3a76036bbdbbb4ccbf7a763cd960a0e Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 18 Nov 2026 15:05:46 -0500 Subject: [PATCH] docs: fix where GPU API docs said "first_vertex" but meant "first_offset". Fixes #15475. --- include/SDL3/SDL_gpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SDL3/SDL_gpu.h b/include/SDL3/SDL_gpu.h index 87a0665eb9..4d877c9e4a 100644 --- a/include/SDL3/SDL_gpu.h +++ b/include/SDL3/SDL_gpu.h @@ -1572,7 +1572,7 @@ typedef struct SDL_GPUIndirectDrawCommand /** * A structure specifying the parameters of an indexed indirect draw command. * - * Note that the `first_vertex` and `first_instance` parameters are NOT + * Note that the `first_offset` and `first_instance` parameters are NOT * compatible with built-in vertex/instance ID variables in shaders (for * example, SV_VertexID); GPU APIs and shader languages do not define these * built-in variables consistently, so if your shader depends on them, the @@ -3900,7 +3900,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_BindGPUFragmentStorageBuffers( * * You must not call this function before binding a graphics pipeline. * - * Note that the `first_vertex` and `first_instance` parameters are NOT + * Note that the `first_offset` and `first_instance` parameters are NOT * compatible with built-in vertex/instance ID variables in shaders (for * example, SV_VertexID); GPU APIs and shader languages do not define these * built-in variables consistently, so if your shader depends on them, the