Split doom specific surface data from common/gpu surface data
This commit is contained in:
parent
87eb89ad33
commit
356ad2fe9f
9 changed files with 110 additions and 97 deletions
|
|
@ -196,7 +196,7 @@ void VkLightmapper::Render()
|
|||
// Paint all surfaces visible in the tile
|
||||
for (int surfaceIndex : targetTile->Surfaces)
|
||||
{
|
||||
LevelMeshSurface* surface = mesh->GetSurface(surfaceIndex);
|
||||
LevelMeshSurface* surface = &mesh->Mesh.Surfaces[surfaceIndex];
|
||||
pc.SurfaceIndex = surfaceIndex;
|
||||
|
||||
VkDrawIndexedIndirectCommand cmd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue