Enable XCB in Vulkan loader on Linux

This commit is contained in:
sephiroth99 2017-04-26 02:11:35 -04:00 committed by Doug Johnson
parent 570e359caa
commit 6bf05d6e63
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ project("vulkan-loader")
removefiles("dirent_on_windows.c") removefiles("dirent_on_windows.c")
filter("platforms:Linux") filter("platforms:Linux")
defines({ defines({
"VK_USE_PLATFORM_XCB_KHR",
[[SYSCONFDIR="\"/etc\""]], [[SYSCONFDIR="\"/etc\""]],
[[FALLBACK_CONFIG_DIRS="\"/etc/xdg\""]], [[FALLBACK_CONFIG_DIRS="\"/etc/xdg\""]],
[[DATADIR="\"/usr/share\""]], [[DATADIR="\"/usr/share\""]],