Cmake version for hash

This commit is contained in:
Filip Gawin
2021-02-12 02:04:31 +01:00
committed by erorcun
parent 9e1c048e20
commit 1b8d03f3aa
10 changed files with 348 additions and 13 deletions

View File

@@ -89,8 +89,8 @@ bool gbModelViewer;
#ifdef TIMEBARS
bool gbShowTimebars;
#endif
#ifdef TOGGLEABLE_VERSION_TEXT
bool gDrawVersionText;
#ifdef DRAW_GAME_VERSION_TEXT
bool gDrawVersionText; // Our addition, we think it was always enabled on !MASTER builds
#endif
volatile int32 frameCount;
@@ -1096,9 +1096,7 @@ DisplayGameDebugText()
#ifdef DRAW_GAME_VERSION_TEXT
wchar ver[200];
#ifdef TOGGLEABLE_VERSION_TEXT
if(gDrawVersionText)
#endif
if(gDrawVersionText) // This realtime switch is our thing
{
#ifdef USE_OUR_VERSIONING