mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 07:35:45 +00:00
yuzu-qt: Make has_broken_vulkan only for crashes
Being able to catch and handle a Vulkan exception is not what this is for.
This commit is contained in:
parent
e7882e4bcb
commit
b527556c38
5 changed files with 17 additions and 11 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue