mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-18 13:32:32 +01:00
Fix cramped MacOS default window settings
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user