From abc39f3f8681266fc437ece697425bb052498217 Mon Sep 17 00:00:00 2001 From: Matthew Date: Mon, 25 Aug 2025 05:08:43 +1000 Subject: [PATCH] add clear color for built in draw image --- vulkan.d | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vulkan.d b/vulkan.d index 64eb40d..b331e3d 100644 --- a/vulkan.d +++ b/vulkan.d @@ -1968,6 +1968,12 @@ CreateComputePipeline(Vulkan* vk, CompPipelineInfo* comp_info) return pipeline_handle; } +void +ClearColor(Vulkan* vk, f32[4] color) +{ + ClearColor(vk, &vk.draw_image, color); +} + void ClearColor(Vulkan* vk, ImageView* view, f32[4] color) {