1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +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

@@ -292,7 +292,7 @@ public:
// Draw mini tile preview
DrawPixelInfo clippedDpi;
if (ClipDrawPixelInfo(&clippedDpi, &dpi, this->windowPos + ScreenCoordsXY{ 4, 18 }, 168, 78))
if (ClipDrawPixelInfo(clippedDpi, dpi, this->windowPos + ScreenCoordsXY{ 4, 18 }, 168, 78))
{
G1Element g1temp = {};
g1temp.offset = _miniPreview.data();