diff options
author | aap <aap@papnet.eu> | 2020-10-31 22:08:43 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-10-31 22:08:43 +0100 |
commit | 32c1135cd49f7d309bee8a0b5ab143f1b1db6d6e (patch) | |
tree | c1db602d9edf6a18de61c3fc6b3220e32d84118d /src/core/main.cpp | |
parent | fix sniper/camera crosshair (diff) | |
parent | Merge pull request #792 from withmorten/master (diff) | |
download | re3-32c1135cd49f7d309bee8a0b5ab143f1b1db6d6e.tar re3-32c1135cd49f7d309bee8a0b5ab143f1b1db6d6e.tar.gz re3-32c1135cd49f7d309bee8a0b5ab143f1b1db6d6e.tar.bz2 re3-32c1135cd49f7d309bee8a0b5ab143f1b1db6d6e.tar.lz re3-32c1135cd49f7d309bee8a0b5ab143f1b1db6d6e.tar.xz re3-32c1135cd49f7d309bee8a0b5ab143f1b1db6d6e.tar.zst re3-32c1135cd49f7d309bee8a0b5ab143f1b1db6d6e.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 b1f1ea50..64b3a63f 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -757,6 +757,8 @@ DisplayGameDebugText() char str[200]; wchar ustr[200]; + +#ifdef DRAW_GAME_VERSION_TEXT wchar ver[200]; AsciiToUnicode(version_name, ver); @@ -772,6 +774,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); |