diff options
| author | 2020-02-26 16:51:53 -0300 | |
|---|---|---|
| committer | 2020-02-26 17:07:18 -0300 | |
| commit | 0aaa69e4d73fb5ecc7f2eb2d2a2d84804704b962 (patch) | |
| tree | d07f5c5ad3c758a0e1dfaceac6c7459adf81fb97 /src/core/frontend/framebuffer_layout.h | |
| parent | Merge pull request #3431 from CJBok/npad-fix (diff) | |
| download | yuzu-0aaa69e4d73fb5ecc7f2eb2d2a2d84804704b962.tar.gz yuzu-0aaa69e4d73fb5ecc7f2eb2d2a2d84804704b962.tar.xz yuzu-0aaa69e4d73fb5ecc7f2eb2d2a2d84804704b962.zip | |
vk_swapchain: Silence TOCTOU race condition
It's possible that the window is resized from the moment we ask for its
size to the moment a swapchain is created, causing validation issues.
To workaround this Vulkan issue request the capabilities again just
before creating the swapchain, making the race condition less likely.
Diffstat (limited to 'src/core/frontend/framebuffer_layout.h')
0 files changed, 0 insertions, 0 deletions