test/testgesture.c
changeset 9607 7746ab058d12
parent 9590 597d75e56b12
child 9619 b94b6d0bff0f
equal deleted inserted replaced
9606:ec24a5add229 9607:7746ab058d12
   264         SDL_Log("Recorded gesture: %"SDL_PRIs64"",event.dgesture.gestureId);
   264         SDL_Log("Recorded gesture: %"SDL_PRIs64"",event.dgesture.gestureId);
   265         break;
   265         break;
   266       }
   266       }
   267     }
   267     }
   268     DrawScreen(screen, window);
   268     DrawScreen(screen, window);
       
   269 
       
   270 #ifdef __EMSCRIPTEN__
       
   271     if (quitting) {
       
   272         emscripten_cancel_main_loop();
       
   273     }
       
   274 #endif
   269 }
   275 }
   270 
   276 
   271 int main(int argc, char* argv[])
   277 int main(int argc, char* argv[])
   272 {
   278 {
   273   window = NULL;
   279   window = NULL;