extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403245
This commit is contained in:
Sam Lantinga 2008-11-25 00:48:25 +00:00
parent 32593c2bac
commit f341bd32dd

View file

@ -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);