summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorllyyr <llyyr@yukari.in>2024-03-19 12:38:17 +0530
committerKacper Michajłow <kasper93@gmail.com>2024-03-19 09:06:01 +0100
commit16ae76948d85e9f298f77fa7401189acff19c11f (patch)
treed9fc5144b42e530ee75e499f115b96182ab1f1b2
parent465f405703e5601a7cc20365511bd7a0390d98e6 (diff)
downloadmpv-16ae76948d85e9f298f77fa7401189acff19c11f.tar.bz2
mpv-16ae76948d85e9f298f77fa7401189acff19c11f.tar.xz
vulkan: remove color_depth stub
Needed for the next commit
-rw-r--r--video/out/vulkan/context.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/video/out/vulkan/context.c b/video/out/vulkan/context.c
index f04895a2ae..966241743e 100644
--- a/video/out/vulkan/context.c
+++ b/video/out/vulkan/context.c
@@ -309,11 +309,6 @@ char *ra_vk_ctx_get_device_name(struct ra_ctx *ctx)
return device_name;
}
-static int color_depth(struct ra_swapchain *sw)
-{
- return 0; // TODO: implement this somehow?
-}
-
static bool start_frame(struct ra_swapchain *sw, struct ra_fbo *out_fbo)
{
struct priv *p = sw->priv;
@@ -363,7 +358,6 @@ static void get_vsync(struct ra_swapchain *sw,
}
static const struct ra_swapchain_fns vulkan_swapchain = {
- .color_depth = color_depth,
.start_frame = start_frame,
.submit_frame = submit_frame,
.swap_buffers = swap_buffers,