Browse Source

remove weird conditional

woa-turnip-expr
lizzie 1 month ago
parent
commit
6739f95c21
  1. 3
      src/video_core/vulkan_common/vulkan_instance.cpp

3
src/video_core/vulkan_common/vulkan_instance.cpp

@ -79,9 +79,6 @@ namespace {
#endif #endif
if (enable_validation && AreExtensionsSupported(dld, *properties, std::array{VK_EXT_DEBUG_UTILS_EXTENSION_NAME})) if (enable_validation && AreExtensionsSupported(dld, *properties, std::array{VK_EXT_DEBUG_UTILS_EXTENSION_NAME}))
extensions.push_back(VK_EXT_DEBUG_UTILS_EXTENSION_NAME); extensions.push_back(VK_EXT_DEBUG_UTILS_EXTENSION_NAME);
// VK_EXT_surface_maintenance1 is required for VK_EXT_swapchain_maintenance1
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);
} }
return extensions; return extensions;
} }

Loading…
Cancel
Save