mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-05 16:25:41 -04: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…
x
Reference in New Issue
Block a user