[vulkan] Toss obsolete fullscreen exclusive hack

Wine never had support for VK_EXT_exclusive_fullscreen and Proton since dropped support for it now that Doom External does not require it.
This commit is contained in:
Joshua Ashton 2022-08-20 23:46:58 +00:00 committed by Philip Rebohle
parent 5c2a748d96
commit eda3ba6372
1 changed files with 0 additions and 8 deletions

View File

@ -13,14 +13,6 @@ namespace dxvk::vk {
PresenterDevice device,
const PresenterDesc& desc)
: m_vki(vki), m_vkd(vkd), m_device(device), m_window(window) {
// 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 (m_device.features.fullScreenExclusive && ::GetModuleHandle("winevulkan.dll")) {
Logger::warn("winevulkan detected, disabling exclusive fullscreen support");
m_device.features.fullScreenExclusive = false;
}
if (createSurface() != VK_SUCCESS)
throw DxvkError("Failed to create surface");