summaryrefslogtreecommitdiff
path: root/app.cpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-28 21:08:55 +1100
committerquou <quou@disroot.org>2024-12-28 21:09:16 +1100
commit8cefdad2061790873a941558fdca8b19725e256a (patch)
tree47171f976e9a5957a700f46ec292de2562698748 /app.cpp
parent9e4daaa18db9aa39d193d1a1d9817443ffd381c4 (diff)
windows dpi awareness
Diffstat (limited to 'app.cpp')
-rw-r--r--app.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.cpp b/app.cpp
index 0eaf439..54fab7e 100644
--- a/app.cpp
+++ b/app.cpp
@@ -508,6 +508,7 @@ int WinMain(
(void)argv;
(void)show_cmd;
g_instance = instance;
+ SetProcessDPIAware();
return entrypoint();
}