From 9c2016ca7c616de92980494fd6d398ec81499c56 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Tue, 19 Sep 2023 01:19:31 +0200 Subject: [PATCH] Fix not setting the reset counter --- src/common/rendering/vulkan/accelstructs/vk_lightmap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/rendering/vulkan/accelstructs/vk_lightmap.cpp b/src/common/rendering/vulkan/accelstructs/vk_lightmap.cpp index 703d415c0c..e920f1b3d1 100644 --- a/src/common/rendering/vulkan/accelstructs/vk_lightmap.cpp +++ b/src/common/rendering/vulkan/accelstructs/vk_lightmap.cpp @@ -200,6 +200,7 @@ void VkLightmap::RenderBakeImage() } surface->LightListPos = lights.Pos; + surface->LightListResetCounter = lights.ResetCounter; LightInfo* lightinfo = &lights.Lights[lights.Pos]; for (const LevelMeshLight* light : surface->LightList)