Skip to content

[html5] Fix argument count for __emscripten_run_callback_on_thread#27264

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:fix-webgl-callback-args
Jul 7, 2026
Merged

[html5] Fix argument count for __emscripten_run_callback_on_thread#27264
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:fix-webgl-callback-args

Conversation

@sbc100

@sbc100 sbc100 commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

In #25783, _emscripten_run_callback_on_thread was updated to take an event_data_size parameter. However, call sites passing 0 for event data in libhtml5.js and libhtml5_webgl.js were missed and left with 5 arguments instead of 6, causing userData to be passed as event_data_size and user_data to be omitted.

@sbc100 sbc100 requested a review from kripken July 7, 2026 05:40
In emscripten-core#25783 (80269bf), _emscripten_run_callback_on_thread was updated
to take an event_data_size parameter. However, call sites passing 0 for
event data in libhtml5.js and libhtml5_webgl.js were missed and left
with 5 arguments instead of 6, causing userData to be passed as
event_data_size and user_data to be omitted.
@sbc100 sbc100 force-pushed the fix-webgl-callback-args branch from 25bc5c9 to 9cf8c52 Compare July 7, 2026 16:22
@sbc100 sbc100 merged commit e159e10 into emscripten-core:main Jul 7, 2026
11 of 20 checks passed
@sbc100 sbc100 deleted the fix-webgl-callback-args branch July 7, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants