GRAPHICS: Fix VectorRenderer's colorFillClip to apply the clipping rect
This commit is contained in:
parent
155dd28f18
commit
042e196488
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue