test/testintersections.c
changeset 3371 438ba87e9578
parent 2997 e4f025078c1c
child 3536 0267b8b1595c
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);