Update to latest emscripten toolchain

Corrected issue on web compilation
This commit is contained in:
Ray
2020-02-22 17:21:10 +01:00
parent 01d8642520
commit 310fd9b147
2 changed files with 3 additions and 3 deletions

View File

@@ -703,7 +703,7 @@ void InitWindow(int width, int height, const char *title)
#endif
#if defined(PLATFORM_WEB)
emscripten_set_fullscreenchange_callback(0, 0, 1, EmscriptenFullscreenChangeCallback);
emscripten_set_fullscreenchange_callback("#canvas", NULL, 1, EmscriptenFullscreenChangeCallback);
// Support keyboard events
emscripten_set_keypress_callback("#canvas", NULL, 1, EmscriptenKeyboardCallback);