mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 05:53:02 +01:00
Fix cramped MacOS default window settings
This commit is contained in:
@@ -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