build: BUILD.gn missing defines for MacOS
BUILD.gn does not define VK_USE_PLATFORM_METAL_EXT for MacOS
This commit is contained in:
parent
f3128cf6ea
commit
52c2645854
3
BUILD.gn
3
BUILD.gn
@ -28,6 +28,9 @@ config("vulkan_headers_config") {
|
|||||||
if (is_fuchsia) {
|
if (is_fuchsia) {
|
||||||
defines = [ "VK_USE_PLATFORM_FUCHSIA" ]
|
defines = [ "VK_USE_PLATFORM_FUCHSIA" ]
|
||||||
}
|
}
|
||||||
|
if (is_mac) {
|
||||||
|
defines = [ "VK_USE_PLATFORM_METAL_EXT" ]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Vulkan headers only, no compiled sources.
|
# Vulkan headers only, no compiled sources.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user