diff options
author | aap <aap@papnet.eu> | 2020-10-31 17:06:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-31 17:06:25 +0100 |
commit | 6eef54e3fc2f6232608aa88818bcc5dabc4ece8e (patch) | |
tree | 94ac01b566addc9a616916ed34422ff2bd0aab1c /src/core/main.cpp | |
parent | Update librw (diff) | |
parent | fix draw menu version text ifdef location (diff) | |
download | re3-6eef54e3fc2f6232608aa88818bcc5dabc4ece8e.tar re3-6eef54e3fc2f6232608aa88818bcc5dabc4ece8e.tar.gz re3-6eef54e3fc2f6232608aa88818bcc5dabc4ece8e.tar.bz2 re3-6eef54e3fc2f6232608aa88818bcc5dabc4ece8e.tar.lz re3-6eef54e3fc2f6232608aa88818bcc5dabc4ece8e.tar.xz re3-6eef54e3fc2f6232608aa88818bcc5dabc4ece8e.tar.zst re3-6eef54e3fc2f6232608aa88818bcc5dabc4ece8e.zip |
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r-- | src/core/main.cpp | 3 |
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); |