summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-07-09 18:49:29 +0200
committerraysan5 <[email protected]>2021-07-09 18:49:29 +0200
commit7062415aec2c8062f0b5024f745dd74bd3425f81 (patch)
tree2e58e965b1b07b609196df6ac785f90f4e220dea /src
parent5ed814e950e5017d9f70274e8555b6e28ebf6808 (diff)
downloadraylib-7062415aec2c8062f0b5024f745dd74bd3425f81.tar.gz
raylib-7062415aec2c8062f0b5024f745dd74bd3425f81.zip
WARNING on emscripten_set_fullscreenchange_callback()
Diffstat (limited to 'src')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index 457d3b72..1051355d 100644
--- a/src/core.c
+++ b/src/core.c
@@ -810,7 +810,7 @@ void InitWindow(int width, int height, const char *title)
#if defined(PLATFORM_WEB)
// Check fullscreen change events(note this is done on the window since most browsers don't support this on #canvas)
- emscripten_set_fullscreenchange_callback(EMSCRIPTEN_EVENT_TARGET_WINDOW, NULL, 1, EmscriptenResizeCallback);
+ //emscripten_set_fullscreenchange_callback(EMSCRIPTEN_EVENT_TARGET_WINDOW, NULL, 1, EmscriptenResizeCallback);
// Check Resize event (note this is done on the window since most browsers don't support this on #canvas)
emscripten_set_resize_callback(EMSCRIPTEN_EVENT_TARGET_WINDOW, NULL, 1, EmscriptenResizeCallback);
// Trigger this once to get initial window sizing