diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-20 09:43:02 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-20 09:43:02 +0200 |
commit | e94df6f5355dc89fa822c698cdf7aa8c4cc050c2 (patch) | |
tree | 0045671e4df6709221201e5d0d1b583c449d8c80 /thirdparty/thorvg/src/renderer/sw_engine/tvgSwShape.cpp | |
parent | b75f0485ba15951b87f1d9a2d8dd0fcd55e178e4 (diff) | |
download | redot-engine-e94df6f5355dc89fa822c698cdf7aa8c4cc050c2.tar.gz |
thorvg: Update to 0.13.8
Diffstat (limited to 'thirdparty/thorvg/src/renderer/sw_engine/tvgSwShape.cpp')
-rw-r--r-- | thirdparty/thorvg/src/renderer/sw_engine/tvgSwShape.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/thirdparty/thorvg/src/renderer/sw_engine/tvgSwShape.cpp b/thirdparty/thorvg/src/renderer/sw_engine/tvgSwShape.cpp index d8dd40d45b..4f069ece97 100644 --- a/thirdparty/thorvg/src/renderer/sw_engine/tvgSwShape.cpp +++ b/thirdparty/thorvg/src/renderer/sw_engine/tvgSwShape.cpp @@ -420,6 +420,7 @@ static bool _axisAlignedRect(const SwOutline* outline) { //Fast Track: axis-aligned rectangle? if (outline->pts.count != 5) return false; + if (outline->types[2] == SW_CURVE_TYPE_CUBIC) return false; auto pt1 = outline->pts.data + 0; auto pt2 = outline->pts.data + 1; |