summaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-12-26 01:50:25 -0300
committerGravatar ReinUsesLisp2020-12-31 02:07:33 -0300
commitf687392e6f29d1b65cd80a18f86a55122bde417c (patch)
treeaca4dd89e0e67d7055bb844cf9ceaf2e8c6c8cf2 /src/input_common/sdl/sdl_impl.cpp
parentrenderer_vulkan: Remove two step initialization on VKDevice (diff)
downloadyuzu-f687392e6f29d1b65cd80a18f86a55122bde417c.tar.gz
yuzu-f687392e6f29d1b65cd80a18f86a55122bde417c.tar.xz
yuzu-f687392e6f29d1b65cd80a18f86a55122bde417c.zip
vk_device: Stop initialization when device is not suitable
VKDevice::IsSuitable was not being called. To address this issue, check suitability before initialization and throw an exception if it fails. By doing this, we can deduplicate some code on queue searches. Previosuly we would first search if a present and graphics queue existed, then on initialization we would search again to find the index.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.cpp')
0 files changed, 0 insertions, 0 deletions