From f58834cfa1186373781761cd74e044fc9359c051 Mon Sep 17 00:00:00 2001 From: grm Date: Mon, 16 Dec 2024 12:09:19 +0200 Subject: even smoler --- src/render.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render.c') diff --git a/src/render.c b/src/render.c index 6ff1f9e..0f1b12d 100644 --- a/src/render.c +++ b/src/render.c @@ -395,10 +395,10 @@ vulkan_create_graphics_pipeline(VkPolygonMode polygon_mode) long vert_size = shaderc_result_get_length(vert_result); const char * frag_data = shaderc_result_get_bytes(frag_result); long frag_size = shaderc_result_get_length(frag_result); - vk_log(VK_INFO, "Shaders loaded\n"); VkShaderModule vertShaderModule = createShaderModule(vert_data, vert_size); VkShaderModule fragShaderModule = createShaderModule(frag_data, frag_size); + vk_log(VK_INFO, "Shaders loaded\n"); VkPipelineShaderStageCreateInfo vertShaderStageInfo = {0}; vertShaderStageInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO; @@ -692,7 +692,7 @@ recordCommandBuffer(VkCommandBuffer commandBuffer, uint32_t imageIndex) vkCmdDrawIndexed(commandBuffer, s.indices_count, 1, 0, 0, 0); - imgui_draw(); // does this need to be here? + imgui_draw(); imgui_draw_cmd(commandBuffer); vkCmdEndRendering(commandBuffer); -- cgit v1.2.3