Fix cramped MacOS default window settings

This commit is contained in:
lizzie-a authored and GitHub committed 2025-12-12 16:00:21 +01:00
1 parent 9daf2b5479
commit 96bc804fa8
2 files changed
+5 -2

No files matched your search

+1
View File
@@ -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.
+4 -2
View File
@@ -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;