From 5cb0aa51c000ef9d63bfe0e268f927e4c28937de Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 19 Feb 2016 14:26:45 +0100 Subject: [PATCH] Add includes to vulkan_common.h --- gfx/common/vulkan_common.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gfx/common/vulkan_common.h b/gfx/common/vulkan_common.h index 35adc02ef0..dc3f87cf6a 100644 --- a/gfx/common/vulkan_common.h +++ b/gfx/common/vulkan_common.h @@ -26,6 +26,22 @@ #define VK_USE_PLATFORM_WAYLAND_KHR #endif +#ifdef HAVE_MIR +#define VK_USE_PLATFORM_MIR_KHR +#endif + +#ifdef _WIN32 +#define VK_USE_PLATFORM_WIN32_KHR +#endif + +#ifdef HAVE_XCB +#define VK_USE_PLATFORM_XCB_KHR +#endif + +#ifdef HAVE_XLIB +#define VK_USE_PLATFORM_XLIB_KHR +#endif + #include #include