[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 else
{ {
maxRects -= written; maxRects -= written;
rects += written; rects += written;
totalRects += written;
} }
} }