code: Address build issues

This commit is contained in:
GPUCode
2022-11-20 12:32:35 +02:00
parent 8b8cee1a5a
commit d1039d9a81
9 changed files with 28 additions and 23 deletions

View File

@ -30,7 +30,7 @@ ConfigureDebug::ConfigureDebug(QWidget* parent)
if (checked && Settings::values.graphics_api == Settings::GraphicsAPI::Vulkan) {
try {
Vulkan::Instance debug_inst{true};
} catch (vk::LayerNotPresentError& err) {
} catch (vk::LayerNotPresentError&) {
ui->toggle_renderer_debug->toggle();
QMessageBox::warning(
this, tr("Validation layer not available"),
@ -45,7 +45,7 @@ ConfigureDebug::ConfigureDebug(QWidget* parent)
if (checked && Settings::values.graphics_api == Settings::GraphicsAPI::Vulkan) {
try {
Vulkan::Instance debug_inst{false, true};
} catch (vk::LayerNotPresentError& err) {
} catch (vk::LayerNotPresentError&) {
ui->toggle_dump_command_buffers->toggle();
QMessageBox::warning(
this, tr("Command buffer dumping not available"),