From 8377cad9744771000785e2897ace4a0017de938f Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Fri, 27 Sep 2024 20:50:17 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- include/SDL3/SDL_gpu.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/SDL3/SDL_gpu.h b/include/SDL3/SDL_gpu.h index 4148e1291..a70a399ea 100644 --- a/include/SDL3/SDL_gpu.h +++ b/include/SDL3/SDL_gpu.h @@ -3351,10 +3351,12 @@ extern SDL_DECLSPEC SDL_GPUTextureFormat SDLCALL SDL_GetGPUSwapchainTextureForma * submitted. The swapchain texture should only be referenced by the command * buffer used to acquire it. The swapchain texture handle can be NULL under * certain conditions. This is not necessarily an error. If this function - * returns false then there is an error. The swapchain texture is managed by the - * implementation and must not be freed by the user. The texture dimensions - * will be the width and height of the claimed window. You can obtain these dimensions by calling SDL_GetWindowSizeInPixels. You MUST NOT call this - * function from any thread other than the one that created the window. + * returns false then there is an error. The swapchain texture is managed by + * the implementation and must not be freed by the user. The texture + * dimensions will be the width and height of the claimed window. You can + * obtain these dimensions by calling SDL_GetWindowSizeInPixels. You MUST NOT + * call this function from any thread other than the one that created the + * window. * * \param command_buffer a command buffer. * \param window a window that has been claimed.