From 6e7f6ef1ec191a4c80186ae41de35054b20b6483 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Sun, 20 Dec 2020 00:05:53 -0800 Subject: [PATCH] EndRenderPass --- src/Refresh_Driver_Vulkan.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Refresh_Driver_Vulkan.c b/src/Refresh_Driver_Vulkan.c index 2481a8b..ba51d36 100644 --- a/src/Refresh_Driver_Vulkan.c +++ b/src/Refresh_Driver_Vulkan.c @@ -3915,7 +3915,11 @@ static void VULKAN_BeginRenderPass( static void VULKAN_EndRenderPass( REFRESH_Renderer *driverData ) { - SDL_assert(0); + VulkanRenderer *renderer = (VulkanRenderer*) driverData; + + RECORD_CMD(renderer->vkCmdEndRenderPass( + renderer->currentCommandBuffer + )); } static void VULKAN_BindGraphicsPipeline(