[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

@ -677,6 +677,7 @@ int app_renderOverlay(struct Rect * rects, int maxRects)
{ {
maxRects -= written; maxRects -= written;
rects += written; rects += written;
totalRects += written;
} }
} }