mirror of
https://github.com/yawut/SDL.git
synced 2026-09-08 09:06:29 -05:00
This commit is contained in:
@@ -311,8 +311,8 @@ main(int argc, char *argv[])
|
||||
/* Print out some timing information */
|
||||
now = SDL_GetTicks();
|
||||
if (now > then) {
|
||||
printf("%2.2f frames per second\n",
|
||||
((double) frames * 1000) / (now - then));
|
||||
double fps = ((double) frames * 1000) / (now - then);
|
||||
printf("%2.2f frames per second\n", fps);
|
||||
}
|
||||
SDL_Quit();
|
||||
return (0);
|
||||
|
||||
Reference in New Issue
Block a user