diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/configure_graphics.cpp | 3 |
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() { | |||
| 267 | } | 267 | } |
| 268 | 268 | ||
| 269 | if (setting->Id() == Settings::values.renderer_backend.Id()) { | 269 | if (setting->Id() == Settings::values.renderer_backend.Id()) { |
| 270 | // Add the renderer combobox now so it's at the top | ||
| 270 | api_grid_layout->addWidget(widget); | 271 | api_grid_layout->addWidget(widget); |
| 271 | api_combobox = widget->combobox; | 272 | api_combobox = widget->combobox; |
| 272 | api_restore_global_button = widget->restore_button; | 273 | api_restore_global_button = widget->restore_button; |
| @@ -393,6 +394,8 @@ void ConfigureGraphics::ApplyConfiguration() { | |||
| 393 | Settings::values.vsync_mode.SetValue(vsync_mode); | 394 | Settings::values.vsync_mode.SetValue(vsync_mode); |
| 394 | } | 395 | } |
| 395 | 396 | ||
| 397 | Settings::values.vulkan_device.SetGlobal(true); | ||
| 398 | Settings::values.shader_backend.SetGlobal(true); | ||
| 396 | if (Settings::IsConfiguringGlobal() || | 399 | if (Settings::IsConfiguringGlobal() || |
| 397 | (!Settings::IsConfiguringGlobal() && api_restore_global_button->isEnabled())) { | 400 | (!Settings::IsConfiguringGlobal() && api_restore_global_button->isEnabled())) { |
| 398 | auto backend = static_cast<Settings::RendererBackend>( | 401 | auto backend = static_cast<Settings::RendererBackend>( |