From e671bc2658464b78bff23618fd8f1a8a8f2524ad Mon Sep 17 00:00:00 2001
From: SDL Wiki Bot <[EMAIL REDACTED]>
Date: Fri, 14 Mar 2025 16:27:22 +0000
Subject: [PATCH] Sync SDL3 wiki -> header
[ci skip]
---
include/SDL3/SDL_render.h | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/include/SDL3/SDL_render.h b/include/SDL3/SDL_render.h
index 3019ed0df2b5a..0e34269c490d1 100644
--- a/include/SDL3/SDL_render.h
+++ b/include/SDL3/SDL_render.h
@@ -2761,10 +2761,13 @@ typedef struct SDL_GPURenderState SDL_GPURenderState;
* Create custom GPU render state.
*
* \param renderer the renderer to use.
- * \param desc GPU render state description, initialized using SDL_INIT_INTERFACE().
- * \returns a custom GPU render state or NULL on failure; call SDL_GetError() for more information.
+ * \param desc GPU render state description, initialized using
+ * SDL_INIT_INTERFACE().
+ * \returns a custom GPU render state or NULL on failure; call SDL_GetError()
+ * for more information.
*
- * \threadsafety This function should be called on the thread that created the renderer.
+ * \threadsafety This function should be called on the thread that created the
+ * renderer.
*
* \since This function is available since SDL 3.4.0.
*
@@ -2777,7 +2780,8 @@ extern SDL_DECLSPEC SDL_GPURenderState * SDLCALL SDL_CreateGPURenderState(SDL_Re
/**
* Set fragment shader uniform variables in a custom GPU render state.
*
- * The data is copied and will be pushed using SDL_PushGPUFragmentUniformData() during draw call execution.
+ * The data is copied and will be pushed using
+ * SDL_PushGPUFragmentUniformData() during draw call execution.
*
* \param state the state to modify.
* \param slot_index the fragment uniform slot to push data to.
@@ -2786,7 +2790,8 @@ extern SDL_DECLSPEC SDL_GPURenderState * SDLCALL SDL_CreateGPURenderState(SDL_Re
* \returns true on success or false on failure; call SDL_GetError() for more
* information.
*
- * \threadsafety This function should be called on the thread that created the renderer.
+ * \threadsafety This function should be called on the thread that created the
+ * renderer.
*
* \since This function is available since SDL 3.4.0.
*/
@@ -2795,14 +2800,16 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetGPURenderStateFragmentUniforms(SDL_GPURe
/**
* Set custom GPU render state.
*
- * This function sets custom GPU render state for subsequent draw calls. This allows using custom shaders with the GPU renderer.
+ * This function sets custom GPU render state for subsequent draw calls. This
+ * allows using custom shaders with the GPU renderer.
*
* \param renderer the renderer to use.
* \param state the state to to use, or NULL to clear custom GPU render state.
* \returns true on success or false on failure; call SDL_GetError() for more
* information.
*
- * \threadsafety This function should be called on the thread that created the renderer.
+ * \threadsafety This function should be called on the thread that created the
+ * renderer.
*
* \since This function is available since SDL 3.4.0.
*/
@@ -2813,7 +2820,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetRenderGPUState(SDL_Renderer *renderer, S
*
* \param state the state to destroy.
*
- * \threadsafety This function should be called on the thread that created the renderer.
+ * \threadsafety This function should be called on the thread that created the
+ * renderer.
*
* \since This function is available since SDL 3.4.0.
*