From: Mira Grudzinska Date: Sun, 14 Mar 2021 20:50:00 +0000 (+0100) Subject: paint: clip was substracted from the array for any composite method X-Git-Tag: submit/tizen/20210322.050718~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34116f1eec8c8a8d29e6cc68497d26bef454621e;p=platform%2Fcore%2Fgraphics%2Ftizenvg.git paint: clip was substracted from the array for any composite method Only ClipPath composite method should cause clips subtraction. --- diff --git a/src/lib/tvgPaint.h b/src/lib/tvgPaint.h index 8345e53d..3cdbaccf 100644 --- a/src/lib/tvgPaint.h +++ b/src/lib/tvgPaint.h @@ -170,7 +170,7 @@ namespace tvg edata = smethod->update(renderer, outTransform, opacity, clips, newFlag); } - if (cmpData) clips.pop(); + if (cmpData && cmpMethod == CompositeMethod::ClipPath) clips.pop(); return edata; }