summaryrefslogtreecommitdiff
path: root/src/common/page_table.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-02-26 16:51:53 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-02-26 17:07:18 -0300
commit0aaa69e4d73fb5ecc7f2eb2d2a2d84804704b962 (patch)
treed07f5c5ad3c758a0e1dfaceac6c7459adf81fb97 /src/common/page_table.cpp
parent01a05b48b72a76b3a709cc82f8e1a9dd52eef7cd (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/common/page_table.cpp')
0 files changed, 0 insertions, 0 deletions