summaryrefslogtreecommitdiffstats
path: root/video/out/vulkan/context.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2022-02-03 16:20:18 +0100
committerNiklas Haas <github-daiK1o@haasn.dev>2022-02-03 18:22:14 +0100
commit88c6c84b64f91bd1f532a62770ebf4615bda098e (patch)
treee2e56403a247a29a80e0e7b5f09a8405a9f26c3f /video/out/vulkan/context.c
parente8e89fae3819c84068562201fe18cbe7ec180fd7 (diff)
downloadmpv-88c6c84b64f91bd1f532a62770ebf4615bda098e.tar.bz2
mpv-88c6c84b64f91bd1f532a62770ebf4615bda098e.tar.xz
libplacebo: update log helpers
Use the pl_log APIs introduced in libplacebo v4, replacing the deprecated pl_context concept.
Diffstat (limited to 'video/out/vulkan/context.c')
-rw-r--r--video/out/vulkan/context.c4
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,