Refactor CCMDs in doom_levelmesh.cpp
This commit is contained in:
parent
bbcc0c1e88
commit
6606860550
3 changed files with 95 additions and 96 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue