mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[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:
parent
5c2a748d96
commit
eda3ba6372
@ -13,14 +13,6 @@ namespace dxvk::vk {
|
|||||||
PresenterDevice device,
|
PresenterDevice device,
|
||||||
const PresenterDesc& desc)
|
const PresenterDesc& desc)
|
||||||
: m_vki(vki), m_vkd(vkd), m_device(device), m_window(window) {
|
: 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)
|
if (createSurface() != VK_SUCCESS)
|
||||||
throw DxvkError("Failed to create surface");
|
throw DxvkError("Failed to create surface");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user