(none)
authorSam Lantinga <slouken@libsdl.org>
Tue, 25 Nov 2008 00:48:25 +0000
changeset 27849bbe3bd94be8
parent 2783 e33ad7ebb7eb
child 2785 fa1095d42a5b
(none)
test/testsprite.c
     1.1 --- a/test/testsprite.c	Tue Nov 25 00:29:44 2008 +0000
     1.2 +++ b/test/testsprite.c	Tue Nov 25 00:48:25 2008 +0000
     1.3 @@ -311,8 +311,8 @@
     1.4      /* Print out some timing information */
     1.5      now = SDL_GetTicks();
     1.6      if (now > then) {
     1.7 -        printf("%2.2f frames per second\n",
     1.8 -               ((double) frames * 1000) / (now - then));
     1.9 +		double fps = ((double) frames * 1000) / (now - then);
    1.10 +        printf("%2.2f frames per second\n", fps);
    1.11      }
    1.12      SDL_Quit();
    1.13      return (0);