mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-30 16:01:49 +00:00
- 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:
parent
03b7324f71
commit
f29eff5b4c
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue