diff options
| author | 2021-06-29 14:55:32 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:40 -0400 | |
| commit | 1b27a2b59798c7028ad533b5d92b2d9900860d65 (patch) | |
| tree | cfce5dac4e9e9c88fcfe25a4fdab24246f433a5b /src | |
| parent | shader: GCC fmt 8.0.0 fixes (diff) | |
| download | yuzu-1b27a2b59798c7028ad533b5d92b2d9900860d65.tar.gz yuzu-1b27a2b59798c7028ad533b5d92b2d9900860d65.tar.xz yuzu-1b27a2b59798c7028ad533b5d92b2d9900860d65.zip | |
configure_graphics: Re-order vulkan device populating
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/configure_graphics.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/yuzu/configuration/configure_graphics.cpp b/src/yuzu/configuration/configure_graphics.cpp index 463448dbf..927b4233b 100644 --- a/src/yuzu/configuration/configure_graphics.cpp +++ b/src/yuzu/configuration/configure_graphics.cpp | |||
| @@ -26,6 +26,10 @@ ConfigureGraphics::ConfigureGraphics(QWidget* parent) | |||
| 26 | 26 | ||
| 27 | ui->setupUi(this); | 27 | ui->setupUi(this); |
| 28 | 28 | ||
| 29 | for (const auto& device : vulkan_devices) { | ||
| 30 | ui->device->addItem(device); | ||
| 31 | } | ||
| 32 | |||
| 29 | ui->backend->addItem(QStringLiteral("GLSL")); | 33 | ui->backend->addItem(QStringLiteral("GLSL")); |
| 30 | ui->backend->addItem(tr("GLASM (NVIDIA Only)")); | 34 | ui->backend->addItem(tr("GLASM (NVIDIA Only)")); |
| 31 | ui->backend->addItem(QStringLiteral("SPIR-V")); | 35 | ui->backend->addItem(QStringLiteral("SPIR-V")); |
| @@ -54,10 +58,6 @@ ConfigureGraphics::ConfigureGraphics(QWidget* parent) | |||
| 54 | UpdateBackgroundColorButton(new_bg_color); | 58 | UpdateBackgroundColorButton(new_bg_color); |
| 55 | }); | 59 | }); |
| 56 | 60 | ||
| 57 | for (const auto& device : vulkan_devices) { | ||
| 58 | ui->device->addItem(device); | ||
| 59 | } | ||
| 60 | |||
| 61 | ui->bg_label->setVisible(Settings::IsConfiguringGlobal()); | 61 | ui->bg_label->setVisible(Settings::IsConfiguringGlobal()); |
| 62 | ui->bg_combobox->setVisible(!Settings::IsConfiguringGlobal()); | 62 | ui->bg_combobox->setVisible(!Settings::IsConfiguringGlobal()); |
| 63 | } | 63 | } |