1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[vulkan] relax warning about exclusive fullscreen

Only warn if it's actually available.
This commit is contained in:
Georg Lehmann 2021-03-16 11:32:36 +01:00 committed by Philip Rebohle
parent 2f553b5b16
commit f48e3f596f

View File

@ -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;
}