1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00

Use dpi ref in misc drawing functions

This commit is contained in:
Gymnasiast
2023-04-03 23:29:06 +02:00
committed by duncanspumpkin
parent bb83a80eab
commit 91f4c1e752
19 changed files with 52 additions and 54 deletions

View File

@@ -554,7 +554,7 @@ namespace OpenRCT2::Ui::Windows
{
DrawPixelInfo widgetDpi;
if (ClipDrawPixelInfo(
&widgetDpi, &dpi, { windowPos.x + widget.left, windowPos.y + widget.top }, widget.width(),
widgetDpi, dpi, { windowPos.x + widget.left, windowPos.y + widget.top }, widget.width(),
widget.height()))
{
auto ctx = onDraw.context();