Finish upload before using buffers

This commit is contained in:
Magnus Norddahl 2023-09-02 14:50:57 +02:00 committed by Christoph Oelckers
parent ac962c80e3
commit 634e6b2603

View file

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