From f48e3f596f74c657173fb7cce2e408fa84b62e4d Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Tue, 16 Mar 2021 11:32:36 +0100 Subject: [PATCH] [vulkan] relax warning about exclusive fullscreen Only warn if it's actually available. --- src/vulkan/vulkan_presenter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/vulkan_presenter.cpp b/src/vulkan/vulkan_presenter.cpp index 7eb84b02..a0d7371a 100644 --- a/src/vulkan/vulkan_presenter.cpp +++ b/src/vulkan/vulkan_presenter.cpp @@ -14,7 +14,7 @@ namespace dxvk::vk { // As of Wine 5.9, winevulkan provides this extension, but does // not filter the pNext chain for VkSwapchainCreateInfoKHR properly // before passing it to the Linux sude, which breaks RenderDoc. - if (::GetModuleHandle("winevulkan.dll")) { + if (m_device.features.fullScreenExclusive && ::GetModuleHandle("winevulkan.dll")) { Logger::warn("winevulkan detected, disabling exclusive fullscreen support"); m_device.features.fullScreenExclusive = false; }