summaryrefslogtreecommitdiffstats
path: root/video/out/vulkan
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2022-01-11 13:37:31 +0100
committerNiklas Haas <github-daiK1o@haasn.dev>2022-02-03 18:22:14 +0100
commitb2958670a3bf67653d861534ef6e21dd9309f5e0 (patch)
treedc83752196a4267455580f9e4c03894835c93dc0 /video/out/vulkan
parent88c6c84b64f91bd1f532a62770ebf4615bda098e (diff)
downloadmpv-b2958670a3bf67653d861534ef6e21dd9309f5e0.tar.bz2
mpv-b2958670a3bf67653d861534ef6e21dd9309f5e0.tar.xz
libplacebo: switch to v4 naming convention
All of these const struct pointers got typedefs, clean up the code accordingly.
Diffstat (limited to 'video/out/vulkan')
-rw-r--r--video/out/vulkan/common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/video/out/vulkan/common.h b/video/out/vulkan/common.h
index 4165ec10ee..75c80402cb 100644
--- a/video/out/vulkan/common.h
+++ b/video/out/vulkan/common.h
@@ -29,9 +29,9 @@
struct mpvk_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
- const struct pl_swapchain *swapchain;
+ pl_vk_inst vkinst;
+ pl_vulkan vulkan;
+ pl_gpu gpu; // points to vulkan->gpu for convenience
+ pl_swapchain swapchain;
VkSurfaceKHR surface;
};