소스 검색

Patched to compile.

Ryan C. Gordon 6 년 전
부모
커밋
ba0fc92ded
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;