Set process DPI aware

This commit is contained in:
Edgaru089 2024-03-05 15:37:36 +08:00
parent 1b93095d73
commit bbca75539e

View File

@ -15,6 +15,7 @@ int main() {
lastFrame = lastUpdate = frameCounter = time_Now(); lastFrame = lastUpdate = frameCounter = time_Now();
int frameCount = 0; int frameCount = 0;
SetProcessDPIAware();
HWND win = initgraph(1280, 720); HWND win = initgraph(1280, 720);
SetWindowTextA(win, "JacksEscape"); SetWindowTextA(win, "JacksEscape");