Let the backend manage the shadowmap buffers

This commit is contained in:
Magnus Norddahl 2023-05-01 02:10:43 +02:00
commit 1d8f406162
11 changed files with 49 additions and 140 deletions

View file

@ -376,7 +376,7 @@ void FLevelLocals::ClearLevelData(bool fullgc)
aabbTree = nullptr;
levelMesh = nullptr;
if (screen)
screen->SetAABBTree(nullptr);
screen->mShadowMap->SetAABBTree(nullptr);
}
//==========================================================================