diff options
| author | void_17 <61356189+void2012@users.noreply.github.com> | 2026-03-03 02:20:24 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-03 03:20:24 +0800 |
| commit | 5a9e512117da0c94b39b879fe0e282615668ae13 (patch) | |
| tree | 9b2b77578a58cc3bb33ebddc55bff7e49bd8102b /Minecraft.Client/StatsSyncher.cpp | |
| parent | bdc8fb5dfa9a111c230d7da5c3790fdb884e818d (diff) | |
Restore Windows 7 compatibility (#160)
* Call SetProcessDpiAwareness via GetProcAddress to preserve Windows 7 compatibility
Shcore.dll and SetProcessDpiAwareness were introduced in Windows 8 and higher, so to keep compatibility with Windows 7, we use GetProcAddress to call this function dynamically, avoiding linker writing binary dependency on shcore.dll in the import table
* Revert "Call SetProcessDpiAwareness via GetProcAddress to preserve Windows 7 compatibility"
This reverts commit f1f397fdbe64e64ab8f7b5457e8206e9193cece0.
* Reapply the fix
Diffstat (limited to 'Minecraft.Client/StatsSyncher.cpp')
0 files changed, 0 insertions, 0 deletions
