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/utils.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/utils.h')
-rw-r--r-- | video/out/vulkan/utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/vulkan/utils.h b/video/out/vulkan/utils.h index 5bde48089d..4b9d9b86e3 100644 --- a/video/out/vulkan/utils.h +++ b/video/out/vulkan/utils.h @@ -37,7 +37,8 @@ void mpvk_uninit(struct mpvk_ctx *vk); // finally followed by vk_swchain initialization. // Create a vulkan instance. Returns VK_NULL_HANDLE on failure -bool mpvk_instance_init(struct mpvk_ctx *vk, struct mp_log *log, bool debug); +bool mpvk_instance_init(struct mpvk_ctx *vk, struct mp_log *log, + const char *surf_ext_name, bool debug); // Generate a VkSurfaceKHR usable for video output. Returns VK_NULL_HANDLE on // failure. Must be called after mpvk_instance_init. |