emscripten-core / emscripten-core/emscripten
SDL_VIDEORESIZE only fires when using deprecated emscripten_set_canvas_size API
Open
wontfix
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
For example in `tests/sdl_resize.c` if we convert to the recommended replacement API (`emscripten_set_canvas_element_size`) the test starts failing because the `SDL_VIDEORESIZE`
never fires.
Not sure what the best approach to fix this is.. but presumably the new API need to integrate
with SDL (see sdl's `addedResizeListener`).
Contributor guide
Assessment
This issue has not been assessed yet.