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
1 changed files with 3 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue