From 16ae76948d85e9f298f77fa7401189acff19c11f Mon Sep 17 00:00:00 2001 From: llyyr Date: Tue, 19 Mar 2024 12:38:17 +0530 Subject: vulkan: remove color_depth stub Needed for the next commit --- video/out/vulkan/context.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'video/out/vulkan/context.c') 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, -- cgit v1.2.3