Przeglądaj źródła

WARNING on emscripten_set_fullscreenchange_callback()

raysan5 4 lat temu
rodzic
commit
7062415aec
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/core.c

+ 1 - 1
src/core.c

@@ -810,7 +810,7 @@ void InitWindow(int width, int height, const char *title)
 
 
 #if defined(PLATFORM_WEB)
 #if defined(PLATFORM_WEB)
     // Check fullscreen change events(note this is done on the window since most browsers don't support this on #canvas)
     // 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)
     // 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);
     emscripten_set_resize_callback(EMSCRIPTEN_EVENT_TARGET_WINDOW, NULL, 1, EmscriptenResizeCallback);
     // Trigger this once to get initial window sizing
     // Trigger this once to get initial window sizing