diff --git a/src/dxvk/dxvk_presenter.cpp b/src/dxvk/dxvk_presenter.cpp index 6eca13de..27247e18 100644 --- a/src/dxvk/dxvk_presenter.cpp +++ b/src/dxvk/dxvk_presenter.cpp @@ -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)