diff --git a/src/i_video_common.cpp b/src/i_video_common.cpp index be894beb7..a0802e904 100644 --- a/src/i_video_common.cpp +++ b/src/i_video_common.cpp @@ -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() diff --git a/src/st_stuff.c b/src/st_stuff.c index 192db029e..9911f719f 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -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(); } diff --git a/src/st_stuff.h b/src/st_stuff.h index 1224f227c..44aa5f251 100644 --- a/src/st_stuff.h +++ b/src/st_stuff.h @@ -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);