diff options
Diffstat (limited to 'video/out/vulkan/context.c')
-rw-r--r-- | video/out/vulkan/context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vulkan/context.c b/video/out/vulkan/context.c index 216e653c82..def2ee3901 100644 --- a/video/out/vulkan/context.c +++ b/video/out/vulkan/context.c @@ -162,9 +162,9 @@ bool ra_vk_ctx_init(struct ra_ctx *ctx, struct mpvk_ctx *vk, p->params = params; p->opts = mp_get_config_group(p, ctx->global, &vulkan_conf); - assert(vk->ctx); + assert(vk->pllog); assert(vk->vkinst); - vk->vulkan = pl_vulkan_create(vk->ctx, &(struct pl_vulkan_params) { + vk->vulkan = pl_vulkan_create(vk->pllog, &(struct pl_vulkan_params) { .instance = vk->vkinst->instance, .surface = vk->surface, .async_transfer = p->opts->async_transfer, |