Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-02-20 20:04:46 +0000
committerStijn Buys <ingar@osirion.org>2010-02-20 20:04:46 +0000
commitb6cefbb4c030e86865352e6ad941782121fc5a93 (patch)
tree19f53a53aedd8b41a3de086821332c7daf1917f8 /src/client/infowidget.cc
parent9b0f64f2fdfa1801a39bfae61dad4e11a8f0bc59 (diff)
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;