diff options
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 |