summaryrefslogtreecommitdiffstats
path: root/video/out/gpu
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2018-12-09 15:34:22 +0800
committerJan Ekström <jeebjp@gmail.com>2019-04-21 23:55:22 +0300
commitb74b39dfb550b474624202efd193261a130fe191 (patch)
tree7ed354cfca4ad5687cee46d57cc98958537a4b3d /video/out/gpu
parent7006d6752d7da21870dfdb2b0d7640a3734f748c (diff)
downloadmpv-b74b39dfb550b474624202efd193261a130fe191.tar.bz2
mpv-b74b39dfb550b474624202efd193261a130fe191.tar.xz
vo_gpu: vulkan: Add back context_win for libplacebo
Feature parity with the original ra_vk obviously requires win32 support, so let's put it back in.
Diffstat (limited to 'video/out/gpu')
-rw-r--r--video/out/gpu/context.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/gpu/context.c b/video/out/gpu/context.c
index 0a46936708..85f1aa7667 100644
--- a/video/out/gpu/context.c
+++ b/video/out/gpu/context.c
@@ -50,7 +50,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_win;
extern const struct ra_ctx_fns ra_ctx_vulkan_xlib;
/* Direct3D 11 */
@@ -105,11 +105,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