From 7062415aec2c8062f0b5024f745dd74bd3425f81 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Fri, 9 Jul 2021 18:49:29 +0200 Subject: [PATCH] WARNING on emscripten_set_fullscreenchange_callback() --- src/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.c b/src/core.c index 457d3b723..1051355d3 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