This commit is contained in:
Stella 2023-03-30 15:06:41 -07:00 committed by GitHub
commit 40b83bb139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ int winmain::WinMain(LPCSTR lpCmdLine)
pb::get_rc_string(Msg::STRING139),
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
800, 556,
SDL_WINDOW_HIDDEN | SDL_WINDOW_RESIZABLE
SDL_WINDOW_HIDDEN | SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI
// Enable HiDPI support by adding SDL_WINDOW_ALLOW_HIGHDPI, only tested on macOS
);
MainWindow = window;
if (!window)