Browse Source

Fix missing include in Web main after #93906

My bad, I introduced the bug when amending it.
Rémi Verschelde 1 year ago
parent
commit
ce16818dd5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      platform/web/web_main.cpp

+ 1 - 0
platform/web/web_main.cpp

@@ -36,6 +36,7 @@
 #include "core/io/resource_loader.h"
 #include "core/io/resource_loader.h"
 #include "main/main.h"
 #include "main/main.h"
 #include "scene/main/scene_tree.h"
 #include "scene/main/scene_tree.h"
+#include "scene/main/window.h" // SceneTree only forward declares it.
 
 
 #include <emscripten/emscripten.h>
 #include <emscripten/emscripten.h>
 #include <stdlib.h>
 #include <stdlib.h>