Add includes to vulkan_common.h

This commit is contained in:
twinaphex 2016-02-19 14:26:45 +01:00
parent e1a1843edc
commit 5cb0aa51c0

View File

@ -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 <vulkan/vulkan.h>
#include <gfx/math/matrix_4x4.h>