Refactor CCMDs in doom_levelmesh.cpp

This commit is contained in:
RaveYard 2023-09-14 17:02:46 +02:00 committed by Magnus Norddahl
commit 6606860550
3 changed files with 95 additions and 96 deletions

View file

@ -77,7 +77,7 @@ void VkLightmap::Raytrace(const TArray<LevelMeshSurface*>& surfaces)
for (auto& surface : surfaces)
{
surface->needsUpdate = false; // it may have been set to false already, but lightmapper ultimately decides so
pixels += surface->texHeight * surface->texWidth;
pixels += surface->Area();
}
UploadUniforms();