mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[vulkan] relax warning about exclusive fullscreen
Only warn if it's actually available.
This commit is contained in:
parent
2f553b5b16
commit
f48e3f596f
@ -14,7 +14,7 @@ namespace dxvk::vk {
|
|||||||
// As of Wine 5.9, winevulkan provides this extension, but does
|
// As of Wine 5.9, winevulkan provides this extension, but does
|
||||||
// not filter the pNext chain for VkSwapchainCreateInfoKHR properly
|
// not filter the pNext chain for VkSwapchainCreateInfoKHR properly
|
||||||
// before passing it to the Linux sude, which breaks RenderDoc.
|
// 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");
|
Logger::warn("winevulkan detected, disabling exclusive fullscreen support");
|
||||||
m_device.features.fullScreenExclusive = false;
|
m_device.features.fullScreenExclusive = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user