Commit 8b416da1 authored by Ryan Pavlik's avatar Ryan Pavlik
Browse files

xrt: Add Win32 Vulkan platform define when needed

parent 938e8cb3
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment