diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-09-16 03:46:38 +0100 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-09-26 17:25:35 +0200 |
commit | ed345ffc2f3373743d74a5e0a1dc73c012389273 (patch) | |
tree | 53ac98d49cf09a2d46c476c64fc22ff523de3789 /video/out/vulkan/common.h | |
parent | 258487370fd840b018a404225277d74f74899c59 (diff) | |
download | mpv-ed345ffc2f3373743d74a5e0a1dc73c012389273.tar.bz2 mpv-ed345ffc2f3373743d74a5e0a1dc73c012389273.tar.xz |
vo_gpu: vulkan: add support for wayland
Diffstat (limited to 'video/out/vulkan/common.h')
-rw-r--r-- | video/out/vulkan/common.h | 3 |
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 |