mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- fix crash in nullptr access to DFrameBuffer object 'screen' if it is uninitialized
This commit is contained in:
parent
b441d8c399
commit
2c57d5e768
1 changed files with 2 additions and 2 deletions
|
@ -366,8 +366,8 @@ void FLevelLocals::ClearLevelData()
|
|||
localEventManager->Shutdown();
|
||||
if (aabbTree) delete aabbTree;
|
||||
aabbTree = nullptr;
|
||||
if (screen)
|
||||
screen->SetAABBTree(nullptr);
|
||||
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
Loading…
Reference in a new issue