GRAPHICS: Fix VectorRenderer's colorFillClip to apply the clipping rect

This commit is contained in:
Bastien Bouclet 2019-09-08 19:55:23 +02:00
parent 155dd28f18
commit 042e196488

View File

@ -474,6 +474,7 @@ void colorFillClip(PixelType *first, PixelType *last, PixelType color, int realX
if (realX < clippingArea.left) {
int diff = (clippingArea.left - realX);
realX += diff;
first += diff;
count -= diff;
}