mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Add comments
This commit is contained in:
parent
d48ed3749d
commit
da2c15871a
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user