src/video/emscripten/SDL_emscriptenevents.c
changeset 9679 7fc4a8be47a8
parent 9619 b94b6d0bff0f
child 9725 6bfe2f6069b0
     1.1 --- a/src/video/emscripten/SDL_emscriptenevents.c	Thu May 28 12:48:20 2015 -0700
     1.2 +++ b/src/video/emscripten/SDL_emscriptenevents.c	Thu May 28 12:55:01 2015 -0700
     1.3 @@ -376,10 +376,8 @@
     1.4      int i;
     1.5  
     1.6      SDL_TouchID deviceId = 0;
     1.7 -    if (!SDL_GetTouch(deviceId)) {
     1.8 -        if (SDL_AddTouch(deviceId, "") < 0) {
     1.9 -             return 0;
    1.10 -        }
    1.11 +    if (SDL_AddTouch(deviceId, "") < 0) {
    1.12 +         return 0;
    1.13      }
    1.14  
    1.15      for (i = 0; i < touchEvent->numTouches; i++) {