GPU: recreate swapchain on window pixel size change event (#10985)
This commit is contained in:
1 parent
66f6b40c92
commit
fc242abbd2
4 files changed
+136
-139
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user