Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 80b25a3

Browse files
authored
[macOS] Eliminate Vulkan hack for macOS < 10.14 (#37498)
Eliminates an undef of VK_USE_PLATFORM_METAL_EXT that works around some unguarded `@available` checks for macOS 10.13. Our minimum macOS SDK is now macOS 10.14 so we can safely assume Metal support since it's a requirement for macOS 10.14. Issue: flutter/flutter#114445
1 parent fe6f22c commit 80b25a3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

vulkan/procs/vulkan_interface.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@
2424
#endif // VK_USE_PLATFORM_FUCHSIA
2525
#endif // OS_FUCHSIA
2626

27-
// TODO(dnfield): vulkan_metal.h has some unguarded availability checks for
28-
// macOS 10.13. We can remove this if we bump to 10.14 or if that gets fixed
29-
// upstream, but fixing it upstream will take some time to flow through to
30-
// ANGLE's DEPS.
31-
#ifdef VK_USE_PLATFORM_METAL_EXT
32-
#undef VK_USE_PLATFORM_METAL_EXT
33-
#endif // VK_USE_PLATFORM_METAL_EXT
34-
3527
#include <vulkan/vulkan.h>
3628

3729
#define VK_CALL_LOG_ERROR(expression) \

0 commit comments

Comments
 (0)