[Chore] (MG_Test/Backend/DirectVulkan): use warning instead of error

This commit is contained in:
2026-02-10 23:38:40 +08:00
parent 52eb6b3f2a
commit a9b92a756b
@@ -58,7 +58,7 @@ namespace MobileGL::MG_Backend::DirectVulkan {
#elif defined VK_USE_PLATFORM_WIN32_KHR #elif defined VK_USE_PLATFORM_WIN32_KHR
VK_KHR_WIN32_SURFACE_EXTENSION_NAME VK_KHR_WIN32_SURFACE_EXTENSION_NAME
#else #else
#error "VulkanContext::CreateInstance: VK_KHR_*_surface extension not defined on this platform" #warning "VulkanContext::CreateInstance: VK_KHR_*_surface extension not defined on this platform"
#endif #endif
}; // TODO: support more platforms }; // TODO: support more platforms