Patched to compile.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 11 May 2019 12:41:21 -0400
changeset 127277bbbfe01d943
parent 12726 1db0606a7b0c
child 12728 24cff6812c23
Patched to compile.
src/video/emscripten/SDL_emscriptenevents.c
     1.1 --- a/src/video/emscripten/SDL_emscriptenevents.c	Thu May 09 12:09:45 2019 +0100
     1.2 +++ b/src/video/emscripten/SDL_emscriptenevents.c	Sat May 11 12:41:21 2019 -0400
     1.3 @@ -431,6 +431,7 @@
     1.4  static EM_BOOL
     1.5  Emscripten_HandleTouch(int eventType, const EmscriptenTouchEvent *touchEvent, void *userData)
     1.6  {
     1.7 +    SDL_WindowData *window_data = (SDL_WindowData *) userData;
     1.8      int i;
     1.9      double client_w, client_h;
    1.10      int preventDefault = 0;