Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/infowidget.cc')
-rw-r--r--src/client/infowidget.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/infowidget.cc b/src/client/infowidget.cc
index da4103f..cf7c684 100644
--- a/src/client/infowidget.cc
+++ b/src/client/infowidget.cc
@@ -106,7 +106,7 @@ void StatsInfoWidget::draw()
float fps = 0.0f;
float t = (core::application()->time() - min_time);
if (t > 0) {
- fps = roundf(((float) fps_counter_size - 1.0f) / t);
+ fps = roundf(((float) fps_counter_size ) / t);
}
std::stringstream textstream;