mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Cocoa: Select Vulkan surface extension at runtime
This mostly just follows the pattern established by X11. Related to #1619.
This commit is contained in:
@@ -145,8 +145,6 @@ elseif (WIN32)
|
||||
elseif (APPLE)
|
||||
set(_GLFW_COCOA 1)
|
||||
message(STATUS "Using Cocoa for window creation")
|
||||
set(VK_USE_PLATFORM_METAL_EXT 1)
|
||||
message(STATUS "Using VK_EXT_metal_surface")
|
||||
elseif (UNIX)
|
||||
set(_GLFW_X11 1)
|
||||
message(STATUS "Using X11 for window creation")
|
||||
|
||||
Reference in New Issue
Block a user