docs: fix where GPU API docs said "first_vertex" but meant "first_offset".

Fixes #15475.
This commit is contained in:
Ryan C. Gordon
2026-11-18 15:05:46 -05:00
parent 293acc51a1
commit 543e3e13a3
+2 -2
View File
@@ -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