- delete textures before starting the ENDOOM screen.

This commit is contained in:
Christoph Oelckers 2020-09-26 21:34:36 +02:00
parent 03d25b75da
commit 2f403efba2

View file

@ -52,6 +52,7 @@
#include "printf.h"
#include "startupinfo.h"
#include "i_interface.h"
#include "texturemanager.h"
// MACROS ------------------------------------------------------------------
@ -607,6 +608,7 @@ int RunEndoom()
void ST_Endoom()
{
TexMan.DeleteAll();
int code = RunEndoom();
throw CExitEvent(code);