J :
* Fix a broken argument
This commit is contained in:
@@ -343,7 +343,7 @@ void GameApp::Render()
|
|||||||
float fps = mEngine->GetFPS();
|
float fps = mEngine->GetFPS();
|
||||||
totalFPS += fps;
|
totalFPS += fps;
|
||||||
nbUpdates+=1;
|
nbUpdates+=1;
|
||||||
WFont * mFont= resources.GetWFont("simon");
|
WFont * mFont= resources.GetWFont(Fonts::MAIN_FONT);
|
||||||
char buf[512];
|
char buf[512];
|
||||||
sprintf(buf, "avg:%.02f - %.02f fps",totalFPS/nbUpdates, fps);
|
sprintf(buf, "avg:%.02f - %.02f fps",totalFPS/nbUpdates, fps);
|
||||||
if (mFont) {
|
if (mFont) {
|
||||||
|
|||||||
Reference in New Issue
Block a user