1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix so that the main window is displayed before the splash screen minimum display time starts counting on Mac OS

This commit is contained in:
Zoee Silcock
2023-01-29 13:18:22 +01:00
parent 0a9e6e478e
commit 85ff7a2d2a

View File

@@ -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") {