test/testscale.c
changeset 9607 7746ab058d12
parent 9278 8900afb78a19
child 9619 b94b6d0bff0f
     1.1 --- a/test/testscale.c	Mon May 18 21:17:13 2015 +0200
     1.2 +++ b/test/testscale.c	Mon May 18 21:21:14 2015 +0200
     1.3 @@ -142,6 +142,11 @@
     1.4              continue;
     1.5          Draw(&drawstates[i]);
     1.6      }
     1.7 +#ifdef __EMSCRIPTEN__
     1.8 +    if (done) {
     1.9 +        emscripten_cancel_main_loop();
    1.10 +    }
    1.11 +#endif
    1.12  }
    1.13  
    1.14  int