devmode: draw over literally everything else

Draws over ping and FPS counters.
This commit is contained in:
James R 2023-03-29 00:11:01 -07:00
parent 78df6ec488
commit 31ee3577fd
3 changed files with 8 additions and 3 deletions

View file

@ -127,6 +127,8 @@ static void finish_legacy_ogl_update()
ST_AskToJoinEnvelope();
#endif
ST_drawDebugInfo();
OglSdlFinishUpdate(cv_vidwait.value);
}
#endif
@ -179,6 +181,8 @@ static void temp_legacy_finishupdate_draws()
if (discordRequestList != NULL)
ST_AskToJoinEnvelope();
#endif
ST_drawDebugInfo();
}
static InternalPassData build_pass_manager()

View file

@ -414,7 +414,7 @@ static void ST_drawMusicDebug(INT32 *height)
ST_pushDebugString(height, va(" Song: %8s", mname));
}
static void ST_drawDebugInfo(void)
void ST_drawDebugInfo(void)
{
INT32 height = 192;
@ -1357,6 +1357,4 @@ void ST_Drawer(void)
break;
}
}
ST_drawDebugInfo();
}

View file

@ -41,6 +41,9 @@ void ST_DrawDemoTitleEntry(void);
void ST_AskToJoinEnvelope(void);
#endif
// devmode
void ST_drawDebugInfo(void);
// Called by main loop.
void ST_Drawer(void);