summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index 18d0bec..5bf7043 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -1285,11 +1285,11 @@ void GameView::OnDraw()
fpsInfo << "Snapshot " << SNAPSHOT_ID << ". ";
#endif
fpsInfo << "FPS: " << std::fixed << ui::Engine::Ref().GetFps();
-#endif
textWidth = Graphics::textwidth((char*)fpsInfo.str().c_str());
g->fillrect(12, 12, textWidth+8, 15, 0, 0, 0, 255*0.5);
g->drawtext(16, 16, (const char*)fpsInfo.str().c_str(), 32, 216, 255, 255*0.75);
+#endif
//Tooltips
if(infoTipPresence)