summaryrefslogtreecommitdiffstats
path: root/video/out/vulkan/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vulkan/common.h')
-rw-r--r--video/out/vulkan/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/vulkan/common.h b/video/out/vulkan/common.h
index d0d14e28c2..8ea515e27b 100644
--- a/video/out/vulkan/common.h
+++ b/video/out/vulkan/common.h
@@ -13,6 +13,9 @@
// We need to define all platforms we want to support. Since we have
// our own mechanism for checking this, we re-define the right symbols
+#if HAVE_WAYLAND
+#define VK_USE_PLATFORM_WAYLAND_KHR
+#endif
#if HAVE_X11
#define VK_USE_PLATFORM_XLIB_KHR
#endif