Reenabling fps display in release build.
This commit is contained in:
parent
498be94102
commit
7957b8b555
@ -190,7 +190,6 @@ int main( int argc, char *argv[] )
|
|||||||
|
|
||||||
double now = glfwGetTime()- startTimeInSeconds;
|
double now = glfwGetTime()- startTimeInSeconds;
|
||||||
|
|
||||||
#ifdef SAXUM_DEBUG
|
|
||||||
if (showNextFPS <= now) {
|
if (showNextFPS <= now) {
|
||||||
std::stringstream sstream (std::stringstream::in | std::stringstream::out);
|
std::stringstream sstream (std::stringstream::in | std::stringstream::out);
|
||||||
sstream << std::setprecision(1) << std::fixed
|
sstream << std::setprecision(1) << std::fixed
|
||||||
@ -199,7 +198,6 @@ int main( int argc, char *argv[] )
|
|||||||
showNextFPS = now + FPSdelay;
|
showNextFPS = now + FPSdelay;
|
||||||
frameCount = 0;
|
frameCount = 0;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
if (app.isGameStarted()) {
|
if (app.isGameStarted()) {
|
||||||
static float gameStart = now;
|
static float gameStart = now;
|
||||||
if (app.isLocked() && app.getIgnoredMouseUpdates() == 0) {
|
if (app.isLocked() && app.getIgnoredMouseUpdates() == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user