Cleanup: Give SetDirtyBlocks a more descriptive name.

This commit is contained in:
TechGeekNZ
2020-06-08 10:38:06 +12:00
committed by Charles Pigott
parent caab095e4e
commit 8652a4db76
6 changed files with 24 additions and 15 deletions

View File

@@ -1886,7 +1886,7 @@ static void MarkViewportDirty(const ViewPort *vp, int left, int top, int right,
if (top >= vp->virtual_height) return;
SetDirtyBlocks(
AddDirtyBlock(
UnScaleByZoomLower(left, vp->zoom) + vp->left,
UnScaleByZoomLower(top, vp->zoom) + vp->top,
UnScaleByZoom(right, vp->zoom) + vp->left + 1,