mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-12-18 10:37:53 +01:00
Enable HiDPI support, only tested on macOS
This commit is contained in:
parent
eed3662592
commit
76aedfb052
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ int winmain::WinMain(LPCSTR lpCmdLine)
|
||||||
pinball::get_rc_string(38, 0),
|
pinball::get_rc_string(38, 0),
|
||||||
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
|
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
|
||||||
800, 556,
|
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;
|
MainWindow = window;
|
||||||
if (!window)
|
if (!window)
|
||||||
|
|
Loading…
Reference in a new issue