From 9a52c54c2fc269dba4becf2a7f54b45344bab50e Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 8 Sep 2020 17:22:34 +1000 Subject: [PATCH] Vulkan: Don't force debug device/validation layers --- src/frontend-common/vulkan_host_display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend-common/vulkan_host_display.cpp b/src/frontend-common/vulkan_host_display.cpp index 703398e89..0a2bd4141 100644 --- a/src/frontend-common/vulkan_host_display.cpp +++ b/src/frontend-common/vulkan_host_display.cpp @@ -233,7 +233,7 @@ void VulkanHostDisplay::SetVSync(bool enabled) bool VulkanHostDisplay::CreateRenderDevice(const WindowInfo& wi, std::string_view adapter_name, bool debug_device) { - if (!Vulkan::Context::Create(adapter_name, &wi, &m_swap_chain, true, true)) + if (!Vulkan::Context::Create(adapter_name, &wi, &m_swap_chain, debug_device, false)) { Log_ErrorPrintf("Failed to create Vulkan context"); return false;