summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-15 23:17:50 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 16:56:54 +0200
commit57a00e01d69eaf413d162899c32dd1e04aa3e157 (patch)
tree084ed5955c1236b3f1830621c611fa5d352e74fe
parentconfiguration: Use shorter constructor as needed (diff)
downloadyuzu-57a00e01d69eaf413d162899c32dd1e04aa3e157.tar
yuzu-57a00e01d69eaf413d162899c32dd1e04aa3e157.tar.gz
yuzu-57a00e01d69eaf413d162899c32dd1e04aa3e157.tar.bz2
yuzu-57a00e01d69eaf413d162899c32dd1e04aa3e157.tar.lz
yuzu-57a00e01d69eaf413d162899c32dd1e04aa3e157.tar.xz
yuzu-57a00e01d69eaf413d162899c32dd1e04aa3e157.tar.zst
yuzu-57a00e01d69eaf413d162899c32dd1e04aa3e157.zip
-rw-r--r--src/yuzu/configuration/configure_graphics.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_graphics.cpp b/src/yuzu/configuration/configure_graphics.cpp
index cf1333cc8..673921649 100644
--- a/src/yuzu/configuration/configure_graphics.cpp
+++ b/src/yuzu/configuration/configure_graphics.cpp
@@ -267,6 +267,7 @@ void ConfigureGraphics::Setup() {
}
if (setting->Id() == Settings::values.renderer_backend.Id()) {
+ // Add the renderer combobox now so it's at the top
api_grid_layout->addWidget(widget);
api_combobox = widget->combobox;
api_restore_global_button = widget->restore_button;
@@ -393,6 +394,8 @@ void ConfigureGraphics::ApplyConfiguration() {
Settings::values.vsync_mode.SetValue(vsync_mode);
}
+ Settings::values.vulkan_device.SetGlobal(true);
+ Settings::values.shader_backend.SetGlobal(true);
if (Settings::IsConfiguringGlobal() ||
(!Settings::IsConfiguringGlobal() && api_restore_global_button->isEnabled())) {
auto backend = static_cast<Settings::RendererBackend>(