summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-09-05 23:50:21 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-09-05 23:50:55 +0200
commitd078cff269b372106bd5e62dc4e25dd4694e33b4 (patch)
tree153e5334f5a90c3275d1d96e95f4411a5a2b0bc4
parentconfigure_graphics: Fix handling of broken Vulkan (diff)
downloadyuzu-d078cff269b372106bd5e62dc4e25dd4694e33b4.tar
yuzu-d078cff269b372106bd5e62dc4e25dd4694e33b4.tar.gz
yuzu-d078cff269b372106bd5e62dc4e25dd4694e33b4.tar.bz2
yuzu-d078cff269b372106bd5e62dc4e25dd4694e33b4.tar.lz
yuzu-d078cff269b372106bd5e62dc4e25dd4694e33b4.tar.xz
yuzu-d078cff269b372106bd5e62dc4e25dd4694e33b4.tar.zst
yuzu-d078cff269b372106bd5e62dc4e25dd4694e33b4.zip
-rw-r--r--src/yuzu/configuration/configure_graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_graphics.cpp b/src/yuzu/configuration/configure_graphics.cpp
index f36a0cae7..fd6bebf0f 100644
--- a/src/yuzu/configuration/configure_graphics.cpp
+++ b/src/yuzu/configuration/configure_graphics.cpp
@@ -493,7 +493,7 @@ void ConfigureGraphics::RetrieveVulkanDevices() {
}
Settings::RendererBackend ConfigureGraphics::GetCurrentGraphicsBackend() const {
- const auto selected_backend = [=]() {
+ const auto selected_backend = [&]() {
if (!Settings::IsConfiguringGlobal() && !api_restore_global_button->isEnabled()) {
return Settings::values.renderer_backend.GetValue(true);
}