diff options
Diffstat (limited to 'src/render.c')
-rw-r--r-- | src/render.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |