diff options
author | StapleButter <thetotalworm@gmail.com> | 2018-12-21 05:01:37 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2018-12-21 05:01:37 +0100 |
commit | 63ae6bf8fbd1e9d6c00ecdfc3680dece465e0c6c (patch) | |
tree | 5b3185b2596a838bca1f1b1d97fdb9c40b524a14 /src/libui_sdl/libui/windows/areautil.cpp | |
parent | f86fe460350838d288a4515ac3b3865874a53e5b (diff) |
libui/windows: some work on hiDPI shit
still looks derpy but atleast the rendering and touchscreen aren't broken
Diffstat (limited to 'src/libui_sdl/libui/windows/areautil.cpp')
-rw-r--r-- | src/libui_sdl/libui/windows/areautil.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libui_sdl/libui/windows/areautil.cpp b/src/libui_sdl/libui/windows/areautil.cpp index 9dc72fb..212ea42 100644 --- a/src/libui_sdl/libui/windows/areautil.cpp +++ b/src/libui_sdl/libui/windows/areautil.cpp @@ -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); } } |