GPU/Vulkan: Use Metal layer instead NSView on macOS.
This commit is contained in:
1 parent
f846817848
commit
eaca5eca07
6 files changed
+90
-12
No files matched your search
@@ -38,9 +38,8 @@
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__)
|
||||
// TODO: Switch to Metal
|
||||
#define VK_USE_PLATFORM_MACOS_MVK
|
||||
// #define VK_USE_PLATFORM_METAL_EXT
|
||||
// #define VK_USE_PLATFORM_MACOS_MVK
|
||||
#define VK_USE_PLATFORM_METAL_EXT
|
||||
#endif
|
||||
|
||||
#include "vulkan/vulkan.h"
|
||||
|
||||
Reference in new issue
Block a user