From a9b92a756bcddeba988c2ba9bd01aee692f93e9d Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Tue, 10 Feb 2026 23:36:54 +0800 Subject: [PATCH] [Chore] (MG_Test/Backend/DirectVulkan): use warning instead of error --- MobileGL/MG_Backend/DirectVulkan/Renderer/VulkanContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/VulkanContext.cpp b/MobileGL/MG_Backend/DirectVulkan/Renderer/VulkanContext.cpp index 64b5dd18..9670bb1a 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/VulkanContext.cpp +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/VulkanContext.cpp @@ -58,7 +58,7 @@ namespace MobileGL::MG_Backend::DirectVulkan { #elif defined VK_USE_PLATFORM_WIN32_KHR VK_KHR_WIN32_SURFACE_EXTENSION_NAME #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 }; // TODO: support more platforms