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 /options/options.c | |
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 'options/options.c')
-rw-r--r-- | options/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index dbd2a3f9bd..7a4cad5756 100644 --- a/options/options.c +++ b/options/options.c @@ -800,8 +800,10 @@ static const m_option_t mp_opts[] = { #if HAVE_VULKAN {"", OPT_SUBSTRUCT(vulkan_opts, vulkan_conf)}, +#if HAVE_VK_KHR_DISPLAY {"", OPT_SUBSTRUCT(vulkan_display_opts, vulkan_display_conf)}, #endif +#endif #if HAVE_D3D11 {"", OPT_SUBSTRUCT(d3d11_opts, d3d11_conf)}, |