Explorar o código

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot hai 10 meses
pai
achega
5bd886519b
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      include/SDL3/SDL_gpu.h

+ 3 - 1
include/SDL3/SDL_gpu.h

@@ -4013,7 +4013,9 @@ extern SDL_DECLSPEC SDL_GPUTextureFormat SDLCALL SDL_GetGPUSwapchainTextureForma
  * buffer used to acquire it.
  *
  * This function will fill the swapchain texture handle with NULL if too many
- * frames are in flight. This is not an error.
+ * frames are in flight. This is not an error. This NULL pointer should not be
+ * passed back into SDL. Instead, it should be considered as an indication to
+ * wait until the swapchain is available.
  *
  * If you use this function, it is possible to create a situation where many
  * command buffers are allocated while the rendering context waits for the GPU