summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gpu/context.c')
-rw-r--r--video/out/gpu/context.c2
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