Skip to content

Commit

Permalink
[Mod] Disable per-monitor awareness. It is nowhere near usable in thi…
Browse files Browse the repository at this point in the history
…s branch.

git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.31@22130 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Nov 9, 2024
1 parent 2a579fa commit 31e1122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mptrack/Mptrack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ BOOL CTrackApp::InitInstanceImpl(CMPTCommandLineInfo &cmdInfo)
{
if(TrackerSettings::Instance().highResUI)
{
setDPI = (SetProcessDpiAwarenessContext(HANDLE(MPT_DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2)) == TRUE);
setDPI = (SetProcessDpiAwarenessContext(HANDLE(MPT_DPI_AWARENESS_CONTEXT_SYSTEM_AWARE)) == TRUE);
} else
{
if(TrackerSettings::Instance().useGDIUpcaling && SetProcessDpiAwarenessContext(HANDLE(MPT_DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED)) == TRUE)
Expand Down

0 comments on commit 31e1122

Please sign in to comment.