summaryrefslogtreecommitdiffstats
path: root/video/out/vulkan/common.h
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/common.h
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/common.h')
-rw-r--r--video/out/vulkan/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vulkan/common.h b/video/out/vulkan/common.h
index 523de8e66e..4165ec10ee 100644
--- a/video/out/vulkan/common.h
+++ b/video/out/vulkan/common.h
@@ -27,8 +27,8 @@
// Shared struct used to hold vulkan context information
struct mpvk_ctx {
- struct mp_log *pl_log;
- struct pl_context *ctx;
+ struct mp_log *log;
+ pl_log pllog;
const struct pl_vk_inst *vkinst;
const struct pl_vulkan *vulkan;
const struct pl_gpu *gpu; // points to vulkan->gpu for convenience