diff --git a/vulkan/vulkan_context.cpp b/vulkan/vulkan_context.cpp index 1166e0d5..e277e35c 100644 --- a/vulkan/vulkan_context.cpp +++ b/vulkan/vulkan_context.cpp @@ -272,7 +272,7 @@ void Context::end_cmd_buffer() one_time_use_cmd.end(); vk::SubmitInfo submit_info{}; submit_info.setCommandBuffers(one_time_use_cmd); - queue.submit(vk::SubmitInfo()); + queue.submit(submit_info); queue.waitIdle(); device.freeCommandBuffers(command_pool.get(), one_time_use_cmd); one_time_use_cmd = nullptr;