Vulkan: Support Wayland

This commit is contained in:
Connor McLaughlin
2020-09-23 20:19:50 +10:00
parent f022bdb328
commit a0a78087fe
5 changed files with 41 additions and 6 deletions

View File

@ -30,3 +30,6 @@ if(USE_X11)
target_compile_definitions(vulkan-loader PUBLIC "VULKAN_USE_X11=1")
endif()
if(USE_WAYLAND)
target_compile_definitions(vulkan-loader PUBLIC "VULKAN_USE_WAYLAND=1")
endif()