summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2020-10-29 19:01:09 +0100
committerwithmorten <morten.with@gmail.com>2020-10-29 19:18:46 +0100
commite95516032f4e44ea35b7358f60c464c0faa1df91 (patch)
treec5f78e8154050434524296da0cc9150d146e0cc8 /src/core/main.cpp
parentNew GXT lines (diff)
downloadre3-e95516032f4e44ea35b7358f60c464c0faa1df91.tar
re3-e95516032f4e44ea35b7358f60c464c0faa1df91.tar.gz
re3-e95516032f4e44ea35b7358f60c464c0faa1df91.tar.bz2
re3-e95516032f4e44ea35b7358f60c464c0faa1df91.tar.lz
re3-e95516032f4e44ea35b7358f60c464c0faa1df91.tar.xz
re3-e95516032f4e44ea35b7358f60c464c0faa1df91.tar.zst
re3-e95516032f4e44ea35b7358f60c464c0faa1df91.zip
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r--src/core/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 18ee2dc5..1aa0a953 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -768,6 +768,8 @@ DisplayGameDebugText()
char str[200];
wchar ustr[200];
+
+#ifdef DRAW_GAME_VERSION_TEXT
wchar ver[200];
AsciiToUnicode(version_name, ver);
@@ -783,6 +785,7 @@ DisplayGameDebugText()
CFont::SetBackGroundOnlyTextOff();
CFont::SetColor(CRGBA(255, 108, 0, 255));
CFont::PrintString(SCREEN_SCALE_X(10.0f), SCREEN_SCALE_Y(10.0f), ver);
+#endif
FrameSamples++;
FramesPerSecondCounter += 1000.0f / (CTimer::GetTimeStepNonClippedInSeconds() * 1000.0f);