libui/windows: some work on hiDPI shit

still looks derpy but atleast the rendering and touchscreen aren't broken
This commit is contained in:
StapleButter
2018-12-21 05:01:37 +01:00
parent f86fe46035
commit 63ae6bf8fb
6 changed files with 27 additions and 3 deletions

View File

@ -14,6 +14,7 @@ void loadAreaSize(uiArea *a, ID2D1RenderTarget *rt, double *width, double *heigh
size = realGetSize(rt);
*width = size.width;
*height = size.height;
dipToPixels(a, width, height);
}
}