Do not reset twodee context if dedicated server

This commit is contained in:
James R 2023-03-03 02:50:01 -08:00
parent 9eefb2e0ae
commit 546f8d88c3

View file

@ -803,8 +803,11 @@ void D_SRB2Loop(void)
HW3S_BeginFrameUpdate();
#endif
I_NewTwodeeFrame();
I_NewImguiFrame();
if (rendermode != render_none)
{
I_NewTwodeeFrame();
I_NewImguiFrame();
}
if (realtics > 0 || singletics)
{
@ -1497,8 +1500,11 @@ void D_SRB2Main(void)
CONS_Printf("I_StartupGraphics()...\n");
I_StartupGraphics();
I_NewTwodeeFrame();
I_NewImguiFrame();
if (rendermode != render_none)
{
I_NewTwodeeFrame();
I_NewImguiFrame();
}
#ifdef HWRENDER
// Lactozilla: Add every hardware mode CVAR and CCMD.