diff options
author | Anton Kindestam <antonki@kth.se> | 2019-09-28 10:26:23 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2019-09-28 14:10:01 +0300 |
commit | 62904203804afb614f4809495f1a1bb6e4006aaa (patch) | |
tree | ffeaceaebb78c664c9d183333836594b245ba1e1 /video/out/vulkan/context.c | |
parent | 9538fb5a7af951e220f26c87c80aaaa2a5cfbc67 (diff) | |
download | mpv-62904203804afb614f4809495f1a1bb6e4006aaa.tar.bz2 mpv-62904203804afb614f4809495f1a1bb6e4006aaa.tar.xz |
vo: make swapchain-depth option generic for all VOs
In preparation for making vo_drm able to use swapchain-depth
Diffstat (limited to 'video/out/vulkan/context.c')
-rw-r--r-- | video/out/vulkan/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vulkan/context.c b/video/out/vulkan/context.c index f3db02f5cb..4ff48ed250 100644 --- a/video/out/vulkan/context.c +++ b/video/out/vulkan/context.c @@ -179,7 +179,7 @@ bool ra_vk_ctx_init(struct ra_ctx *ctx, struct mpvk_ctx *vk, struct pl_vulkan_swapchain_params params = { .surface = vk->surface, .present_mode = preferred_mode, - .swapchain_depth = ctx->opts.swapchain_depth, + .swapchain_depth = ctx->vo->opts->swapchain_depth, }; if (p->opts->swap_mode >= 0) // user override |