diff options
author | Martin Capitanio <capnm@capitanio.org> | 2023-12-30 02:19:05 +0100 |
---|---|---|
committer | Martin Capitanio <capnm@capitanio.org> | 2023-12-31 16:14:44 +0100 |
commit | 74ed6d63bfc7cd022737b3356999789d4ef5d5ec (patch) | |
tree | 96ad2689f9789e26251ac8840a0670ec3554e99b /thirdparty/thorvg/src/renderer/sw_engine/tvgSwShape.cpp | |
parent | 13a0d6e9b253654f5cc2a44f3d0b3cae10440443 (diff) | |
download | redot-engine-74ed6d63bfc7cd022737b3356999789d4ef5d5ec.tar.gz |
ThorVG: update from v0.11.2 to v0.11.6
https://github.com/thorvg/thorvg/releases/tag/v0.11.6
Godot related:
+ [Renderer] Improved the internal structure for compact
scene-hierarchy traversing.
+ [SwEngine] Improved trigonometric & image scaler performance.
+ [SwEngine] Fixed a loss of image pixels during image down-scaling.
+ [Renderer/Engine] Improved safety measures.
+ [SwEngine] Resolved a bug causing strokes to be improperly
invisible due to clipping.
thorvg/thorvg#1785
+ [Renderer] Rectified the precision of rounded rectangle corners.
thorvg/thorvg#1824
+ [Portability] Resolved compiler shadowing warnings.
thorvg/thorvg#1811
Fixes godotengine#85465 Clipped strokes from outside the canvas.
Fixes godotengine#86012 Rounded rectangles in SVG files rendering incorrectly.
Diffstat (limited to 'thirdparty/thorvg/src/renderer/sw_engine/tvgSwShape.cpp')
-rw-r--r-- | thirdparty/thorvg/src/renderer/sw_engine/tvgSwShape.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/thirdparty/thorvg/src/renderer/sw_engine/tvgSwShape.cpp b/thirdparty/thorvg/src/renderer/sw_engine/tvgSwShape.cpp index 4f66cdacc0..ae2ddd2af7 100644 --- a/thirdparty/thorvg/src/renderer/sw_engine/tvgSwShape.cpp +++ b/thirdparty/thorvg/src/renderer/sw_engine/tvgSwShape.cpp @@ -558,11 +558,15 @@ void shapeReset(SwShape* shape) void shapeFree(SwShape* shape) { rleFree(shape->rle); + shape->rle = nullptr; + shapeDelFill(shape); if (shape->stroke) { rleFree(shape->strokeRle); + shape->strokeRle = nullptr; strokeFree(shape->stroke); + shape->stroke = nullptr; } } |