summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_graphics.cpp
diff options
context:
space:
mode:
authorlat9nq <lat9nq@gmail.com>2022-05-29 22:26:27 -0400
committerlat9nq <lat9nq@gmail.com>2022-05-30 10:58:18 -0400
commit500b01076e1a96b9c133ff663daad6f9dd8e4039 (patch)
treeb5305da5e8e97e3a42c641e36d644ea0a801b823 /src/yuzu/configuration/configure_graphics.cpp
parentb43ae9d5edd0333e004605cef97256699169343d (diff)
yuzu-qt: Make has_broken_vulkan only for crashes
Being able to catch and handle a Vulkan exception is not what this is for.
Diffstat (limited to 'src/yuzu/configuration/configure_graphics.cpp')
-rw-r--r--src/yuzu/configuration/configure_graphics.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/yuzu/configuration/configure_graphics.cpp b/src/yuzu/configuration/configure_graphics.cpp
index 482a6a8ab..70015a373 100644
--- a/src/yuzu/configuration/configure_graphics.cpp
+++ b/src/yuzu/configuration/configure_graphics.cpp
@@ -64,6 +64,7 @@ ConfigureGraphics::ConfigureGraphics(const Core::System& system_, QWidget* paren
if (RetrieveVulkanDevices()) {
ui->api->setEnabled(true);
+ ui->button_check_vulkan->hide();
for (const auto& device : vulkan_devices) {
ui->device->addItem(device);
@@ -356,9 +357,6 @@ bool ConfigureGraphics::RetrieveVulkanDevices() try {
vulkan_devices.push_back(QString::fromStdString(name));
}
- UISettings::values.has_broken_vulkan = false;
- ui->button_check_vulkan->setVisible(false);
-
return true;
} catch (const Vulkan::vk::Exception& exception) {
LOG_ERROR(Frontend, "Failed to enumerate devices with error: {}", exception.what());