Partially reverts "[vk] Changing conditions for Swapchain maintenance1 "

This reverts commit 3fc3b5fdad.
This commit is contained in:
Caio Oliveira 2025-12-21 19:52:52 -03:00
parent fec98b8913
commit 875829f8fc
No known key found for this signature in database
GPG key ID: AAAE6C7FD4186B0C

View file

@ -83,11 +83,6 @@ namespace {
if (window_type != Core::Frontend::WindowSystemType::Headless && AreExtensionsSupported(dld, *properties, std::array{VK_EXT_SURFACE_MAINTENANCE_1_EXTENSION_NAME}))
extensions.push_back(VK_EXT_SURFACE_MAINTENANCE_1_EXTENSION_NAME);
}
// VK_EXT_surface_maintenance1 is required for VK_EXT_swapchain_maintenance1
if (window_type != Core::Frontend::WindowSystemType::Headless &&
AreExtensionsSupported(dld, std::array{VK_EXT_SURFACE_MAINTENANCE_1_EXTENSION_NAME})) {
extensions.push_back(VK_EXT_SURFACE_MAINTENANCE_1_EXTENSION_NAME);
}
return extensions;
}