[client] overlay: increment totalRects

This commit is contained in:
Geoffrey McRae 2021-07-22 18:38:00 +10:00
parent 4acbf2e9a0
commit 3b6ad957e3

View file

@ -675,8 +675,9 @@ int app_renderOverlay(struct Rect * rects, int maxRects)
}
else
{
maxRects -= written;
rects += written;
maxRects -= written;
rects += written;
totalRects += written;
}
}