test/testdraw2.c
changeset 9607 7746ab058d12
parent 9278 8900afb78a19
child 9619 b94b6d0bff0f
equal deleted inserted replaced
9606:ec24a5add229 9607:7746ab058d12
   196         DrawLines(renderer);
   196         DrawLines(renderer);
   197         DrawPoints(renderer);
   197         DrawPoints(renderer);
   198 
   198 
   199         SDL_RenderPresent(renderer);
   199         SDL_RenderPresent(renderer);
   200     }
   200     }
       
   201 #ifdef __EMSCRIPTEN__
       
   202     if (done) {
       
   203         emscripten_cancel_main_loop();
       
   204     }
       
   205 #endif
   201 }
   206 }
   202 
   207 
   203 int
   208 int
   204 main(int argc, char *argv[])
   209 main(int argc, char *argv[])
   205 {
   210 {