diff --git a/video/out/vulkan/context.c b/video/out/vulkan/context.c index 3a8f58e4c4..a51a9a87db 100644 --- a/video/out/vulkan/context.c +++ b/video/out/vulkan/context.c @@ -183,6 +183,11 @@ bool ra_vk_ctx_init(struct ra_ctx *ctx, struct mpvk_ctx *vk, .surface = vk->surface, .present_mode = preferred_mode, .swapchain_depth = ctx->vo->opts->swapchain_depth, +#if PL_API_VER >= 29 + // mpv already handles resize events, so gracefully allow suboptimal + // swapchains to exist in order to make resizing even smoother + .allow_suboptimal = true, +#endif }; if (p->opts->swap_mode >= 0) // user override