Finish upload before using buffers

This commit is contained in:
Magnus Norddahl 2023-09-02 14:50:57 +02:00
commit 7c862dd861

View file

@ -549,6 +549,7 @@ void VulkanRenderDevice::SetLevelMesh(LevelMesh* mesh)
Printf("Running VkLightmap.\n");
GetCommands()->WaitForCommands(false);
GetLightmap()->Raytrace(mesh);
Printf("Copying data.\n");