Fix not setting the reset counter

This commit is contained in:
Magnus Norddahl 2023-09-19 01:19:31 +02:00 committed by Christoph Oelckers
parent 9b71dd4e21
commit 9c2016ca7c

View file

@ -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)