Explorar el Código

Patched to compile.

Ryan C. Gordon hace 6 años
padre
commit
ba0fc92ded
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/video/emscripten/SDL_emscriptenevents.c

+ 1 - 0
src/video/emscripten/SDL_emscriptenevents.c

@@ -431,6 +431,7 @@ Emscripten_HandleFocus(int eventType, const EmscriptenFocusEvent *wheelEvent, vo
 static EM_BOOL
 Emscripten_HandleTouch(int eventType, const EmscriptenTouchEvent *touchEvent, void *userData)
 {
+    SDL_WindowData *window_data = (SDL_WindowData *) userData;
     int i;
     double client_w, client_h;
     int preventDefault = 0;