src/video/emscripten/SDL_emscriptenmouse.c
changeset 12576 8d61748ac590
parent 12503 806492103856
equal deleted inserted replaced
12575:62f907f026bb 12576:8d61748ac590
   208             curdata = (Emscripten_CursorData *) cursor->driverdata;
   208             curdata = (Emscripten_CursorData *) cursor->driverdata;
   209 
   209 
   210             if(curdata->system_cursor) {
   210             if(curdata->system_cursor) {
   211                 EM_ASM_INT({
   211                 EM_ASM_INT({
   212                     if (Module['canvas']) {
   212                     if (Module['canvas']) {
   213                         Module['canvas'].style['cursor'] = Module['Pointer_stringify']($0);
   213                         Module['canvas'].style['cursor'] = UTF8ToString($0);
   214                     }
   214                     }
   215                     return 0;
   215                     return 0;
   216                 }, curdata->system_cursor);
   216                 }, curdata->system_cursor);
   217             }
   217             }
   218         }
   218         }