Disable window resizing on load as it breaks on some platforms.

PiperOrigin-RevId: 914774489
Change-Id: I9aea71b386de93f4d2fc3da5310dd7a3018c8c1c
This commit is contained in:
Haroon Qureshi
2026-05-13 03:59:17 -07:00
committed by Copybara-Service
parent 35cdc779e6
commit 69a1087e9e
+2 -1
View File
@@ -105,7 +105,8 @@ void App::SwitchGraphicsMode(int width, int height,
renderer_ = std::make_unique<platform::Renderer>(
window_->GetNativeWindowHandle(), gfx_mode_);
LoadSettings();
// TODO: Figure out why this breaks on some platforms.
// LoadSettings();
if (ui_.window_width > 0 && ui_.window_height > 0) {
window_->Resize(ui_.window_width, ui_.window_height);
}