这是indexloc提供的服务,不要输入任何密码
Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion SpaceCadetPinball/winmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ int winmain::WinMain(LPCSTR lpCmdLine)
pinball::get_rc_string(38, 0),
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)
Expand Down