mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2023-12-30 21:52:56 +00:00
Enable HiDPI support, only tested on macOS
This commit is contained in:
parent
eed3662592
commit
76aedfb052
@ -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 New Issue
Block a user