Prepare FFlatVertexBuffer for removal
This commit is contained in:
parent
1fe5b8e26f
commit
154cb2e967
13 changed files with 102 additions and 73 deletions
|
|
@ -78,6 +78,7 @@ void HWMeshCache::Update(FRenderViewpoint& vp)
|
|||
di->MeshBuilding = true;
|
||||
|
||||
MeshBuilder state;
|
||||
state.SetShadowData(sector_vertices, sector_indexes);
|
||||
|
||||
// Add to the draw lists
|
||||
|
||||
|
|
@ -86,7 +87,7 @@ void HWMeshCache::Update(FRenderViewpoint& vp)
|
|||
{
|
||||
auto sector = &level->sectors[i];
|
||||
|
||||
CheckUpdate(screen->mVertexData, sector);
|
||||
// CheckUpdate(state, sector);
|
||||
std::unordered_set<FSection*> seenSections;
|
||||
for (int i = 0, count = sector->subsectorcount; i < count; i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue