--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403245
This commit is contained in:
parent
32593c2bac
commit
f341bd32dd
1 changed files with 2 additions and 2 deletions
|
@ -311,8 +311,8 @@ main(int argc, char *argv[])
|
||||||
/* Print out some timing information */
|
/* Print out some timing information */
|
||||||
now = SDL_GetTicks();
|
now = SDL_GetTicks();
|
||||||
if (now > then) {
|
if (now > then) {
|
||||||
printf("%2.2f frames per second\n",
|
double fps = ((double) frames * 1000) / (now - then);
|
||||||
((double) frames * 1000) / (now - then));
|
printf("%2.2f frames per second\n", fps);
|
||||||
}
|
}
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
return (0);
|
return (0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue