mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Cocoa: Add support for VK_EXT_metal_surface
This adds optional support for the VK_EXT_metal_surface instance extension. Closes #1619.
This commit is contained in:
committed by
Camilla Löwy
parent
9372ba95fa
commit
c5cb4a253a
@@ -145,6 +145,8 @@ 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