2
0
Эх сурвалжийг харах

Corrected documentation for SDL_SetGPUSwapchainParameters()

(cherry picked from commit 695cad459b29dcee3c0afc8c3106b37279919bdb)
Sam Lantinga 5 сар өмнө
parent
commit
e045edb567

+ 1 - 1
include/SDL3/SDL_gpu.h

@@ -3775,7 +3775,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_ReleaseWindowFromGPUDevice(
  * supported via SDL_WindowSupportsGPUPresentMode /
  * SDL_WindowSupportsGPUSwapchainComposition prior to calling this function.
  *
- * SDL_GPU_PRESENTMODE_VSYNC and SDL_GPU_SWAPCHAINCOMPOSITION_SDR are always
+ * SDL_GPU_PRESENTMODE_VSYNC with SDL_GPU_SWAPCHAINCOMPOSITION_SDR are always
  * supported.
  *
  * \param device a GPU context.