Cocoa: Select Vulkan surface extension at runtime

This mostly just follows the pattern established by X11.

Related to #1619.
This commit is contained in:
Camilla Löwy
2020-01-16 01:52:50 +01:00
parent c5cb4a253a
commit 15d91801b7
7 changed files with 58 additions and 77 deletions
-1
View File
@@ -40,7 +40,6 @@
#cmakedefine _GLFW_WIN32
// Define this to 1 if building GLFW for Cocoa
#cmakedefine _GLFW_COCOA
#cmakedefine VK_USE_PLATFORM_METAL_EXT
// Define this to 1 if building GLFW for Wayland
#cmakedefine _GLFW_WAYLAND
// Define this to 1 if building GLFW for OSMesa