mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 11:20:40 +00:00
GRAPHICS: Fix VectorRenderer's colorFillClip to apply the clipping rect
This commit is contained in:
parent
155dd28f18
commit
042e196488
@ -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…
Reference in New Issue
Block a user