src/video/emscripten/SDL_emscriptenevents.c
changeset 12404 eb60e952b13f
parent 11811 5d94cb6b24d3
child 12503 806492103856
     1.1 --- a/src/video/emscripten/SDL_emscriptenevents.c	Wed Nov 07 07:52:39 2018 -0800
     1.2 +++ b/src/video/emscripten/SDL_emscriptenevents.c	Sat Nov 10 16:15:48 2018 -0400
     1.3 @@ -428,7 +428,7 @@
     1.4      int preventDefault = 0;
     1.5  
     1.6      SDL_TouchID deviceId = 1;
     1.7 -    if (SDL_AddTouch(deviceId, "") < 0) {
     1.8 +    if (SDL_AddTouch(deviceId, SDL_TOUCH_DEVICE_DIRECT, "") < 0) {
     1.9           return 0;
    1.10      }
    1.11