mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 08:50:15 +00:00
Cocoa: Select Vulkan surface extension at runtime
This mostly just follows the pattern established by X11.
Related to #1619.
(cherry picked from commit 15d91801b7)
This commit is contained in:
committed by
Camilla Löwy
parent
50f3979dfd
commit
d33084447d
@@ -556,11 +556,8 @@ struct _GLFWlibrary
|
||||
#if defined(_GLFW_WIN32)
|
||||
GLFWbool KHR_win32_surface;
|
||||
#elif defined(_GLFW_COCOA)
|
||||
#if defined(VK_USE_PLATFORM_MACOS_MVK)
|
||||
GLFWbool MVK_macos_surface;
|
||||
#elif defined(VK_USE_PLATFORM_METAL_EXT)
|
||||
GLFWbool EXT_metal_surface;
|
||||
#endif
|
||||
#elif defined(_GLFW_X11)
|
||||
GLFWbool KHR_xlib_surface;
|
||||
GLFWbool KHR_xcb_surface;
|
||||
|
||||
Reference in New Issue
Block a user