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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/gpu/context.c b/video/out/gpu/context.c
index 22387077d5..c8cbb1aa47 100644
--- a/video/out/gpu/context.c
+++ b/video/out/gpu/context.c
@@ -49,6 +49,7 @@ extern const struct ra_ctx_fns ra_ctx_vdpauglx;
/* Vulkan */
extern const struct ra_ctx_fns ra_ctx_vulkan_wayland;
+extern const struct ra_ctx_fns ra_ctx_vulkan_win;
extern const struct ra_ctx_fns ra_ctx_vulkan_xlib;
static const struct ra_ctx_fns *contexts[] = {
@@ -93,6 +94,9 @@ static const struct ra_ctx_fns *contexts[] = {
// Vulkan contexts:
#if HAVE_VULKAN
+#if HAVE_WIN32_DESKTOP
+ &ra_ctx_vulkan_win,
+#endif
#if HAVE_WAYLAND
&ra_ctx_vulkan_wayland,
#endif