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

[Window] Fix flashing subwindows.

This commit is contained in:
bruvzg
2025-02-18 08:14:54 +02:00
parent 93d2706930
commit f86a24fcfd

View File

@@ -1646,7 +1646,6 @@ DisplayServer::WindowID DisplayServerWindows::create_sub_window(WindowMode p_mod
rendering_device->screen_create(window_id);
}
#endif
wd.initialized = true;
return window_id;
}
@@ -1674,6 +1673,7 @@ void DisplayServerWindows::show_window(WindowID p_id) {
if (p_id != MAIN_WINDOW_ID) {
_update_window_style(p_id);
}
wd.initialized = true;
if (wd.maximized) {
ShowWindow(wd.hWnd, SW_SHOWMAXIMIZED);
@@ -6998,7 +6998,6 @@ DisplayServerWindows::DisplayServerWindows(const String &p_rendering_driver, Win
}
}
windows[MAIN_WINDOW_ID].initialized = true;
show_window(MAIN_WINDOW_ID);
#if defined(RD_ENABLED)