Skip to content

Commit 5bd8865

Browse files
committed
Sync SDL3 wiki -> header
[ci skip]
1 parent c6362b4 commit 5bd8865

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/SDL3/SDL_gpu.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4013,7 +4013,9 @@ extern SDL_DECLSPEC SDL_GPUTextureFormat SDLCALL SDL_GetGPUSwapchainTextureForma
40134013
* buffer used to acquire it.
40144014
*
40154015
* This function will fill the swapchain texture handle with NULL if too many
4016-
* frames are in flight. This is not an error.
4016+
* frames are in flight. This is not an error. This NULL pointer should not be
4017+
* passed back into SDL. Instead, it should be considered as an indication to
4018+
* wait until the swapchain is available.
40174019
*
40184020
* If you use this function, it is possible to create a situation where many
40194021
* command buffers are allocated while the rendering context waits for the GPU

0 commit comments

Comments
 (0)