|
@@ -64,6 +64,7 @@ ConfigureGraphics::ConfigureGraphics(const Core::System& system_, QWidget* paren
|
|
|
|
|
|
|
|
if (RetrieveVulkanDevices()) {
|
|
if (RetrieveVulkanDevices()) {
|
|
|
ui->api->setEnabled(true);
|
|
ui->api->setEnabled(true);
|
|
|
|
|
+ ui->button_check_vulkan->hide();
|
|
|
|
|
|
|
|
for (const auto& device : vulkan_devices) {
|
|
for (const auto& device : vulkan_devices) {
|
|
|
ui->device->addItem(device);
|
|
ui->device->addItem(device);
|
|
@@ -356,9 +357,6 @@ bool ConfigureGraphics::RetrieveVulkanDevices() try {
|
|
|
vulkan_devices.push_back(QString::fromStdString(name));
|
|
vulkan_devices.push_back(QString::fromStdString(name));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- UISettings::values.has_broken_vulkan = false;
|
|
|
|
|
- ui->button_check_vulkan->setVisible(false);
|
|
|
|
|
-
|
|
|
|
|
return true;
|
|
return true;
|
|
|
} catch (const Vulkan::vk::Exception& exception) {
|
|
} catch (const Vulkan::vk::Exception& exception) {
|
|
|
LOG_ERROR(Frontend, "Failed to enumerate devices with error: {}", exception.what());
|
|
LOG_ERROR(Frontend, "Failed to enumerate devices with error: {}", exception.what());
|