- fixed: the software scene drawer must be deleted before calling ST_Endoom.

This contains render data that won't get deleted in time before taking down the render backend if not manually performed.
This commit is contained in:
Christoph Oelckers 2021-08-10 19:22:19 +02:00
parent 03b7324f71
commit f29eff5b4c
1 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,7 @@
#include "gameconfigfile.h"
#include "d_player.h"
#include "teaminfo.h"
#include "hwrenderer/scene/hw_drawinfo.h"
EXTERN_CVAR(Int, cl_gfxlocalization)
EXTERN_CVAR(Bool, m_quickexit)
@ -295,6 +296,7 @@ CCMD (menu_quit)
{ // F10
if (m_quickexit)
{
CleanSWDrawer();
ST_Endoom();
}
@ -326,6 +328,7 @@ CCMD (menu_quit)
I_WaitVBL(105);
}
}
CleanSWDrawer();
ST_Endoom();
});