Fix not setting the reset counter

This commit is contained in:
Magnus Norddahl 2023-09-19 01:19:31 +02:00
commit 110819ea05

View file

@ -199,6 +199,7 @@ void VkLightmap::RenderBakeImage()
}
surface->LightListPos = lights.Pos;
surface->LightListResetCounter = lights.ResetCounter;
LightInfo* lightinfo = &lights.Lights[lights.Pos];
for (const LevelMeshLight* light : surface->LightList)