From f29eff5b4c88b5ff61917098f8f0e53c1a18c23c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 10 Aug 2021 19:22:19 +0200 Subject: [PATCH] - 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. --- src/menu/doommenu.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/menu/doommenu.cpp b/src/menu/doommenu.cpp index 1df0673a1f..8a8e9cf8a8 100644 --- a/src/menu/doommenu.cpp +++ b/src/menu/doommenu.cpp @@ -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(); });