mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +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();
|
HW3S_BeginFrameUpdate();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
I_NewTwodeeFrame();
|
if (rendermode != render_none)
|
||||||
I_NewImguiFrame();
|
{
|
||||||
|
I_NewTwodeeFrame();
|
||||||
|
I_NewImguiFrame();
|
||||||
|
}
|
||||||
|
|
||||||
if (realtics > 0 || singletics)
|
if (realtics > 0 || singletics)
|
||||||
{
|
{
|
||||||
|
|
@ -1497,8 +1500,11 @@ void D_SRB2Main(void)
|
||||||
CONS_Printf("I_StartupGraphics()...\n");
|
CONS_Printf("I_StartupGraphics()...\n");
|
||||||
I_StartupGraphics();
|
I_StartupGraphics();
|
||||||
|
|
||||||
I_NewTwodeeFrame();
|
if (rendermode != render_none)
|
||||||
I_NewImguiFrame();
|
{
|
||||||
|
I_NewTwodeeFrame();
|
||||||
|
I_NewImguiFrame();
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef HWRENDER
|
#ifdef HWRENDER
|
||||||
// Lactozilla: Add every hardware mode CVAR and CCMD.
|
// Lactozilla: Add every hardware mode CVAR and CCMD.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue