SDL
SDL copied to clipboard
Emscripten: queue fullscreen toggles
Currently, Emscripten_SetWindowFullscreen() will report failure if a fullscreen transition is in progress. It should instead track that the requested state has changed, and once the transition is complete, start a new transition if necessary, so eventually the window ends up in the final requested fullscreen state.