diff options
author | rcombs <rcombs@rcombs.me> | 2023-02-19 20:23:33 -0600 |
---|---|---|
committer | rcombs <rcombs@rcombs.me> | 2023-02-20 00:05:26 -0600 |
commit | d1cf89b65554d6501fe62cc0989fab97180b8377 (patch) | |
tree | 6e3410d6617fa2f83740ceee6a0cc336ebda30b1 /video/out | |
parent | 9a752e8b262d0a52799f4c3532f4e43d7be733fc (diff) | |
download | mpv-d1cf89b65554d6501fe62cc0989fab97180b8377.tar.bz2 mpv-d1cf89b65554d6501fe62cc0989fab97180b8377.tar.xz |
Vulkan: add configure check for VK_KHR_display extension
This allows building directly against ICDs that don't implement this extension.
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/gpu/context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/gpu/context.c b/video/out/gpu/context.c index 2203b5cad9..a145e2dc98 100644 --- a/video/out/gpu/context.c +++ b/video/out/gpu/context.c @@ -110,8 +110,10 @@ static const struct ra_ctx_fns *contexts[] = { #if HAVE_X11 &ra_ctx_vulkan_xlib, #endif +#if HAVE_VK_KHR_DISPLAY &ra_ctx_vulkan_display, #endif +#endif /* No API contexts: */ #if HAVE_DMABUF_WAYLAND |