diff options
author | James Ross-Gowan <rossy@jrg.systems> | 2017-09-24 16:45:56 +1000 |
---|---|---|
committer | James Ross-Gowan <rossy@jrg.systems> | 2017-09-28 10:02:22 +1000 |
commit | a65abe2447d0a0ca6301ef2ec23e3d4e697831ad (patch) | |
tree | 440d67d98269ab145b3e6a27913b88d1c49941b5 /video/out/gpu | |
parent | 67fd5882b86bc544e27a9cb0b188d63bdb950623 (diff) | |
download | mpv-a65abe2447d0a0ca6301ef2ec23e3d4e697831ad.tar.bz2 mpv-a65abe2447d0a0ca6301ef2ec23e3d4e697831ad.tar.xz |
vo_gpu: vulkan: add support for Windows
Diffstat (limited to 'video/out/gpu')
-rw-r--r-- | video/out/gpu/context.c | 4 |
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 |