summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Chris Forbes <chrisforbes@google.com> 2017-01-20 12:50:17 +1300
committer Chris Forbes <chrisforbes@google.com> 2017-01-20 15:04:47 +1300
commit4e18ba82847bdb31504a1b005370f8df931f959d (patch)
tree012842fc51aefe310468ac4ab20ef3cdcc7e32a5 /vulkan/libvulkan/api.cpp
parentc48f42c86bfba395430bcdd60707458f519b2ca2 (diff)
vulkan: return OUT_OF_DATE from GetSwapchainStatus if not current
We don't yet have good ways to detect other ways in which the swapchain may have gone bad, but it's easy to detect the case where the swapchain is not current for the surface it targets. Test: build Change-Id: Id882a4a699d65f323e8a5e181f0e25e903039f21
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions