shape: Fixed reset api.
authorMichal Szczecinski <mihashco89@gmail.com>
Tue, 2 Feb 2021 10:00:30 +0000 (11:00 +0100)
committerJunsuChoi <jsuya.choi@samsung.com>
Wed, 3 Feb 2021 06:31:17 +0000 (15:31 +0900)
Added stroke's RLE reset in shape reset function.

src/lib/sw_engine/tvgSwShape.cpp

index 08a19d5..d20fc95 100644 (file)
@@ -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);
 }