-fixed: When performing a restart the SW scene drawer's resources should be reset because they are outside the control of higher level containers.

This commit is contained in:
Christoph Oelckers 2018-04-08 08:03:46 +02:00
commit 1897073b60
6 changed files with 18 additions and 1 deletions

View file

@ -2738,6 +2738,7 @@ void D_DoomMain (void)
M_SaveDefaults(NULL); // save config before the restart
// delete all data that cannot be left until reinitialization
screen->CleanForRestart();
V_ClearFonts(); // must clear global font pointers
ColorSets.Clear();
PainFlashes.Clear();