From a65abe2447d0a0ca6301ef2ec23e3d4e697831ad Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Sun, 24 Sep 2017 16:45:56 +1000 Subject: vo_gpu: vulkan: add support for Windows --- video/out/gpu/context.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'video/out/gpu') 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 -- cgit v1.2.3