mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Do not reset twodee context if dedicated server
This commit is contained in:
parent
9eefb2e0ae
commit
546f8d88c3
1 changed files with 10 additions and 4 deletions
14
src/d_main.c
14
src/d_main.c
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue