diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index 591b1e2e..be4842e2 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -387,6 +387,7 @@ SDL_AppResult SDL_AppEvent(void* appstate, SDL_Event* event) #ifdef __EMSCRIPTEN__ // Workaround for the fact we are getting both mouse & touch events on mobile devices running Emscripten. // On desktops, we are only getting mouse events, but a touch device (pen_input) may also be present... + // See: https://github.com/libsdl-org/SDL/issues/13161 static bool detectedTouchEvents = false; #endif diff --git a/util/compat.h b/util/compat.h index 4f680b22..e3b2aca9 100644 --- a/util/compat.h +++ b/util/compat.h @@ -17,6 +17,8 @@ #define DDBitDepths DWORD #endif +// SDL will not put the message box on the main thread by default. +// See: https://github.com/libsdl-org/SDL/issues/12943 #ifdef __EMSCRIPTEN__ #define Any_ShowSimpleMessageBox Emscripten_ShowSimpleMessageBox #else