emscripten-core / emscripten-core/emscripten

SDL_VIDEORESIZE only fires when using deprecated emscripten_set_canvas_size API

Open
#12,978 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.