Set process DPI aware
This commit is contained in:
parent
1b93095d73
commit
bbca75539e
1
main.cpp
1
main.cpp
@ -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");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user