mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-27 22:42:29 +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 "gameconfigfile.h"
|
||||||
#include "d_player.h"
|
#include "d_player.h"
|
||||||
#include "teaminfo.h"
|
#include "teaminfo.h"
|
||||||
|
#include "hwrenderer/scene/hw_drawinfo.h"
|
||||||
|
|
||||||
EXTERN_CVAR(Int, cl_gfxlocalization)
|
EXTERN_CVAR(Int, cl_gfxlocalization)
|
||||||
EXTERN_CVAR(Bool, m_quickexit)
|
EXTERN_CVAR(Bool, m_quickexit)
|
||||||
|
@ -295,6 +296,7 @@ CCMD (menu_quit)
|
||||||
{ // F10
|
{ // F10
|
||||||
if (m_quickexit)
|
if (m_quickexit)
|
||||||
{
|
{
|
||||||
|
CleanSWDrawer();
|
||||||
ST_Endoom();
|
ST_Endoom();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -326,6 +328,7 @@ CCMD (menu_quit)
|
||||||
I_WaitVBL(105);
|
I_WaitVBL(105);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
CleanSWDrawer();
|
||||||
ST_Endoom();
|
ST_Endoom();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue