From ba2bd2383d13e3bfdc8c8a0a6fd16d3662b76e52 Mon Sep 17 00:00:00 2001 From: Michal Szczecinski Date: Tue, 2 Feb 2021 11:00:30 +0100 Subject: [PATCH] shape: Fixed reset api. Added stroke's RLE reset in shape reset function. --- src/lib/sw_engine/tvgSwShape.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/sw_engine/tvgSwShape.cpp b/src/lib/sw_engine/tvgSwShape.cpp index 08a19d5d..d20fc955 100644 --- a/src/lib/sw_engine/tvgSwShape.cpp +++ b/src/lib/sw_engine/tvgSwShape.cpp @@ -465,6 +465,7 @@ void shapeDelOutline(SwShape* shape, uint32_t tid) void shapeReset(SwShape* shape) { rleReset(shape->rle); + rleReset(shape->strokeRle); shape->rect = false; _initBBox(shape->bbox); }