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:
committed by
duncanspumpkin
parent
bb83a80eab
commit
91f4c1e752
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user