From bbca75539e6a1a33195dc353cf8a2169a7aac19b Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Tue, 5 Mar 2024 15:37:36 +0800 Subject: [PATCH] Set process DPI aware --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index f7b5bc0..2ed2083 100644 --- a/main.cpp +++ b/main.cpp @@ -15,6 +15,7 @@ int main() { lastFrame = lastUpdate = frameCounter = time_Now(); int frameCount = 0; + SetProcessDPIAware(); HWND win = initgraph(1280, 720); SetWindowTextA(win, "JacksEscape");