From 96bc804fa811b62daecf8ef489d35a252d9b93c0 Mon Sep 17 00:00:00 2001 From: lizzie-a Date: Fri, 12 Dec 2025 10:00:21 -0500 Subject: [PATCH] Fix cramped MacOS default window settings --- distribution/changelog.txt | 1 + src/openrct2-ui/UiContext.cpp | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index ebf90ca58e..08cad25443 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -8,6 +8,7 @@ - Improved: [#25625] Renewing and refurbishing rides now also resets the downtime. - Change: [#21912] Toilet income is now categorised as shop sales instead of ride tickets. - Change: [#25485] Make the enlarged pressed swatch sprite more pronounced. +- Change: [#25544] The default game window size is now 1280×720px instead of 640×480px. - Fix: [#9895] Stand-up coaster gets wrong intensity boost from the synchronisation bonus. - Fix: [#22484] Lingering ghost entrance after placing park entrance. - Fix: [#24952] Duplicate track designs when running via Steam without having RCT1 linked. diff --git a/src/openrct2-ui/UiContext.cpp b/src/openrct2-ui/UiContext.cpp index 329845ae29..e187ae82ef 100644 --- a/src/openrct2-ui/UiContext.cpp +++ b/src/openrct2-ui/UiContext.cpp @@ -800,10 +800,12 @@ private: int32_t width = Config::Get().general.windowWidth; int32_t height = Config::Get().general.windowHeight; #endif + + // Set defaults if size is invalid if (width <= 0) - width = 640; + width = 1280; if (height <= 0) - height = 480; + height = 720; // Create window in window first rather than fullscreen so we have the display the window is on first uint32_t flags = SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI;