test/testintersections.c
changeset 9607 7746ab058d12
parent 9278 8900afb78a19
child 9619 b94b6d0bff0f
equal deleted inserted replaced
9606:ec24a5add229 9607:7746ab058d12
   255         DrawLines(renderer);
   255         DrawLines(renderer);
   256         DrawRectLineIntersections(renderer);
   256         DrawRectLineIntersections(renderer);
   257 
   257 
   258         SDL_RenderPresent(renderer);
   258         SDL_RenderPresent(renderer);
   259     }
   259     }
       
   260 #ifdef __EMSCRIPTEN__
       
   261     if (done) {
       
   262         emscripten_cancel_main_loop();
       
   263     }
       
   264 #endif
   260 }
   265 }
   261 
   266 
   262 int
   267 int
   263 main(int argc, char *argv[])
   268 main(int argc, char *argv[])
   264 {
   269 {