mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 01:25:51 +00:00
Vulkan: Don't force debug device/validation layers
This commit is contained in:
parent
455f359125
commit
9a52c54c2f
|
@ -233,7 +233,7 @@ void VulkanHostDisplay::SetVSync(bool enabled)
|
||||||
|
|
||||||
bool VulkanHostDisplay::CreateRenderDevice(const WindowInfo& wi, std::string_view adapter_name, bool debug_device)
|
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");
|
Log_ErrorPrintf("Failed to create Vulkan context");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue