We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6362b4 commit 5bd8865Copy full SHA for 5bd8865
include/SDL3/SDL_gpu.h
@@ -4013,7 +4013,9 @@ extern SDL_DECLSPEC SDL_GPUTextureFormat SDLCALL SDL_GetGPUSwapchainTextureForma
4013
* buffer used to acquire it.
4014
*
4015
* This function will fill the swapchain texture handle with NULL if too many
4016
- * frames are in flight. This is not an error.
+ * 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.
4019
4020
* If you use this function, it is possible to create a situation where many
4021
* command buffers are allocated while the rendering context waits for the GPU
0 commit comments