mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-12 13:08:50 +01:00
[dxvk] Fix incorrect fullScreenExclusive feature check
This commit is contained in:
parent
bd575a4a46
commit
7388c243d2
@ -132,11 +132,11 @@ namespace dxvk {
|
||||
VkResult status;
|
||||
|
||||
if (m_device->features().extFullScreenExclusive) {
|
||||
status = m_vki->vkGetPhysicalDeviceSurfaceCapabilitiesKHR(
|
||||
m_device->adapter()->handle(), m_surface, &caps.surfaceCapabilities);
|
||||
} else {
|
||||
status = m_vki->vkGetPhysicalDeviceSurfaceCapabilities2KHR(
|
||||
m_device->adapter()->handle(), &surfaceInfo, &caps);
|
||||
} else {
|
||||
status = m_vki->vkGetPhysicalDeviceSurfaceCapabilitiesKHR(
|
||||
m_device->adapter()->handle(), m_surface, &caps.surfaceCapabilities);
|
||||
}
|
||||
|
||||
if (status)
|
||||
|
Loading…
Reference in New Issue
Block a user