mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 06:08:30 +09:00
[Chore] (MG_Test/Backend/DirectVulkan): use warning instead of error
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user