diff options
Diffstat (limited to 'main/main.cpp')
-rw-r--r-- | main/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index f41fa136ba..c7a644d7b3 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -2276,9 +2276,10 @@ bool Main::start() { bool embed_subwindows = GLOBAL_DEF("display/window/subwindows/embed_subwindows", true); - if (OS::get_singleton()->is_single_window() || (!project_manager && !editor && embed_subwindows)) { + if (OS::get_singleton()->is_single_window() || (!project_manager && !editor && embed_subwindows) || !DisplayServer::get_singleton()->has_feature(DisplayServer::Feature::FEATURE_SUBWINDOWS)) { sml->get_root()->set_embedding_subwindows(true); } + ResourceLoader::add_custom_loaders(); ResourceSaver::add_custom_savers(); |