Mercurial > sdl-ios-xcode
comparison test/testsprite2.c @ 2786:6bacfecbf27e
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 25 Nov 2008 02:21:53 +0000 |
parents | e33ad7ebb7eb |
children | feb6ccdb888f |
comparison
equal
deleted
inserted
replaced
2785:fa1095d42a5b | 2786:6bacfecbf27e |
---|---|
289 } | 289 } |
290 | 290 |
291 /* Print out some timing information */ | 291 /* Print out some timing information */ |
292 now = SDL_GetTicks(); | 292 now = SDL_GetTicks(); |
293 if (now > then) { | 293 if (now > then) { |
294 double fps = ((double) frames * 1000) / (now - then); | 294 double fps = ((double) frames * 1000) / (now - then); |
295 printf("%2.2f frames per second\n", fps); | 295 printf("%2.2f frames per second\n", fps); |
296 } | 296 } |
297 quit(0); | 297 quit(0); |
298 } | 298 } |
299 | 299 |