F_RunWipe: Don't draw menus on top if there's no renderer

Fixes crash on dedicated
This commit is contained in:
toaster 2023-08-27 21:03:47 +01:00
parent f9a488defb
commit 0935106189

View file

@ -454,7 +454,7 @@ void F_RunWipe(UINT8 wipemode, UINT8 wipetype, boolean drawMenu, const char *col
I_OsPolling();
I_UpdateNoBlit();
if (drawMenu)
if (drawMenu && rendermode != render_none)
{
#ifdef HAVE_THREADS
I_lock_mutex(&k_menu_mutex);