aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/libui/windows/areautil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libui_sdl/libui/windows/areautil.cpp')
-rw-r--r--src/libui_sdl/libui/windows/areautil.cpp1
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);
}
}