mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-20 08:25:42 -04:00
Vulkan: Don't force debug device/validation layers
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user