mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-19 20:46:05 +00:00
GPU: recreate swapchain on window pixel size change event (#10985)
This commit is contained in:
parent
66f6b40c92
commit
fc242abbd2
4 changed files with 136 additions and 139 deletions
|
|
@ -3263,7 +3263,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WindowSupportsGPUPresentMode(
|
|||
* Claims a window, creating a swapchain structure for it.
|
||||
*
|
||||
* This must be called before SDL_AcquireGPUSwapchainTexture is called using
|
||||
* the window.
|
||||
* the window. You should only call this function from the thread that created the window.
|
||||
*
|
||||
* The swapchain will be created with SDL_GPU_SWAPCHAINCOMPOSITION_SDR and
|
||||
* SDL_GPU_PRESENTMODE_VSYNC. If you want to have different swapchain
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue