comparison test/testintersections.c @ 3371:438ba87e9578

Call CommonQuit() at exit has been added.
author Mike Gorchak <lestat@i.com.ua>
date Sat, 10 Oct 2009 13:22:05 +0000
parents e4f025078c1c
children 0267b8b1595c
comparison
equal deleted inserted replaced
3370:3e0f51e60fa2 3371:438ba87e9578
347 347
348 SDL_RenderPresent(); 348 SDL_RenderPresent();
349 } 349 }
350 } 350 }
351 351
352 CommonQuit(state);
353
352 /* Print out some timing information */ 354 /* Print out some timing information */
353 now = SDL_GetTicks(); 355 now = SDL_GetTicks();
354 if (now > then) { 356 if (now > then) {
355 double fps = ((double) frames * 1000) / (now - then); 357 double fps = ((double) frames * 1000) / (now - then);
356 printf("%2.2f frames per second\n", fps); 358 printf("%2.2f frames per second\n", fps);