Mercurial > sdl-ios-xcode
comparison test/testsprite.c @ 2786:6bacfecbf27e
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 25 Nov 2008 02:21:53 +0000 |
parents | 9bbe3bd94be8 |
children | 8c9fa61a521c |
comparison
equal
deleted
inserted
replaced
2785:fa1095d42a5b | 2786:6bacfecbf27e |
---|---|
309 free(mem); | 309 free(mem); |
310 | 310 |
311 /* Print out some timing information */ | 311 /* Print out some timing information */ |
312 now = SDL_GetTicks(); | 312 now = SDL_GetTicks(); |
313 if (now > then) { | 313 if (now > then) { |
314 double fps = ((double) frames * 1000) / (now - then); | 314 double fps = ((double) frames * 1000) / (now - then); |
315 printf("%2.2f frames per second\n", fps); | 315 printf("%2.2f frames per second\n", fps); |
316 } | 316 } |
317 SDL_Quit(); | 317 SDL_Quit(); |
318 return (0); | 318 return (0); |
319 } | 319 } |