mirror of
https://github.com/yawut/SDL.git
synced 2026-06-11 19:22:14 -05:00
This commit is contained in:
parent
b0b75884f3
commit
cb6c4de7d8
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user