mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
xrt: Add Win32 Vulkan platform define when needed
This commit is contained in:
parent
938e8cb393
commit
8b416da12b
|
@ -192,6 +192,9 @@ endif()
|
|||
if(ANDROID)
|
||||
set(VK_USE_PLATFORM_ANDROID_KHR TRUE)
|
||||
endif()
|
||||
if(WIN32)
|
||||
set(VK_USE_PLATFORM_WIN32_KHR TRUE)
|
||||
endif()
|
||||
|
||||
|
||||
if(NOT MSVC)
|
||||
|
|
|
@ -13,3 +13,4 @@
|
|||
#cmakedefine VK_USE_PLATFORM_WAYLAND_KHR
|
||||
#cmakedefine VK_USE_PLATFORM_XCB_KHR
|
||||
#cmakedefine VK_USE_PLATFORM_XLIB_XRANDR_EXT
|
||||
#cmakedefine VK_USE_PLATFORM_WIN32_KHR
|
||||
|
|
Loading…
Reference in a new issue