build: BUILD.gn missing defines for MacOS

BUILD.gn does not define VK_USE_PLATFORM_METAL_EXT for MacOS
This commit is contained in:
Jonah Ryan-Davis 2019-10-25 10:29:12 -06:00 committed by Mike Schuchardt
parent f3128cf6ea
commit 52c2645854

View file

@ -28,6 +28,9 @@ config("vulkan_headers_config") {
if (is_fuchsia) {
defines = [ "VK_USE_PLATFORM_FUCHSIA" ]
}
if (is_mac) {
defines = [ "VK_USE_PLATFORM_METAL_EXT" ]
}
}
# Vulkan headers only, no compiled sources.