mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 08:30:49 +00:00
- fixed update check for shadow map tree.
This should only flag the tree as new if it is different from the last one. This not only caused issues with dynamic updates but also made the renderer recreate the tree's data structures repeatedly.
This commit is contained in:
parent
9649fb9b75
commit
28a12d2597
1 changed files with 5 additions and 2 deletions
|
@ -35,10 +35,13 @@ public:
|
|||
}
|
||||
|
||||
void SetAABBTree(hwrenderer::LevelAABBTree* tree)
|
||||
{
|
||||
if (mAABBTree != tree)
|
||||
{
|
||||
mAABBTree = tree;
|
||||
mNewTree = true;
|
||||
}
|
||||
}
|
||||
|
||||
void SetCollectLights(std::function<void()> func)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue