mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Use dpi ref in rect and line drawing functions
This commit is contained in:
committed by
duncanspumpkin
parent
2941f6f7a5
commit
bb83a80eab
@@ -1104,7 +1104,7 @@ static void ViewportPaintWeatherGloom(DrawPixelInfo& dpi)
|
||||
auto y = dpi.y;
|
||||
auto w = zoomLevel.ApplyInversedTo(dpi.width) - 1;
|
||||
auto h = zoomLevel.ApplyInversedTo(dpi.height) - 1;
|
||||
GfxFilterRect(&dpi, ScreenRect(x, y, x + w, y + h), paletteId);
|
||||
GfxFilterRect(dpi, ScreenRect(x, y, x + w, y + h), paletteId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user