diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-26 16:51:53 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-26 17:07:18 -0300 |
| commit | 3056f6d364e6ac77a2ba999cd788e2cfc8b4dcba (patch) | |
| tree | d07f5c5ad3c758a0e1dfaceac6c7459adf81fb97 /src/video_core/shader/node_helper.cpp | |
| parent | e32ba13702e6dcc7146595d8462e4430eff2bf4e (diff) | |
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/video_core/shader/node_helper.cpp')
0 files changed, 0 insertions, 0 deletions
