emscriptenmouse: remove old extra _INT

This commit is contained in:
Reinhold Gschweicher 2022-02-25 00:12:33 +01:00 committed by Ryan C. Gordon
parent 4dca8f7fb4
commit 404158595c

View file

@ -230,7 +230,7 @@ Emscripten_ShowCursor(SDL_Cursor* cursor)
curdata = (Emscripten_CursorData *) cursor->driverdata;
if(curdata->system_cursor) {
MAIN_THREAD_EM_ASM_INT({
MAIN_THREAD_EM_ASM({
if (Module['canvas']) {
Module['canvas'].style['cursor'] = UTF8ToString($0);
}
@ -239,7 +239,7 @@ Emscripten_ShowCursor(SDL_Cursor* cursor)
}
}
else {
MAIN_THREAD_EM_ASM_INT(
MAIN_THREAD_EM_ASM(
if (Module['canvas']) {
Module['canvas'].style['cursor'] = 'none';
}