Procházet zdrojové kódy

Merge pull request #72307 from zoeesilcock/fix/splash-minimum-display-time-macos

[MacOS] Fix so that the main window is displayed before the splash screen minimum display time starts counting
Rémi Verschelde před 2 roky
rodič
revize
6daf4d6008
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      platform/macos/display_server_macos.mm

+ 1 - 0
platform/macos/display_server_macos.mm

@@ -3920,6 +3920,7 @@ DisplayServerMacOS::DisplayServerMacOS(const String &p_rendering_driver, WindowM
 		}
 		}
 	}
 	}
 	show_window(MAIN_WINDOW_ID);
 	show_window(MAIN_WINDOW_ID);
+	force_process_and_drop_events();
 
 
 #if defined(GLES3_ENABLED)
 #if defined(GLES3_ENABLED)
 	if (rendering_driver == "opengl3") {
 	if (rendering_driver == "opengl3") {