summaryrefslogtreecommitdiffstats
path: root/thirdparty/thorvg/src/lib/tvgPaint.h
diff options
context:
space:
mode:
authorRedworkDE <10944644+RedworkDE@users.noreply.github.com>2023-03-30 22:19:59 +0200
committerRedworkDE <10944644+RedworkDE@users.noreply.github.com>2023-03-31 00:05:21 +0200
commitcfed867da1a696692442bd6991449b864707b1d3 (patch)
tree579fabc0b73d1df7329ba2ac1bedf764c5559621 /thirdparty/thorvg/src/lib/tvgPaint.h
parentdbf1a7277f70c63b2012e40d6850bc45e67fb35f (diff)
downloadredot-engine-cfed867da1a696692442bd6991449b864707b1d3.tar.gz
Update thorvg to 0.8.4
Diffstat (limited to 'thirdparty/thorvg/src/lib/tvgPaint.h')
-rw-r--r--thirdparty/thorvg/src/lib/tvgPaint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/thirdparty/thorvg/src/lib/tvgPaint.h b/thirdparty/thorvg/src/lib/tvgPaint.h
index c170559a37..94239c30a1 100644
--- a/thirdparty/thorvg/src/lib/tvgPaint.h
+++ b/thirdparty/thorvg/src/lib/tvgPaint.h
@@ -62,6 +62,7 @@ namespace tvg
StrategyMethod* smethod = nullptr;
RenderTransform* rTransform = nullptr;
Composite* compData = nullptr;
+ Paint* compSource = nullptr;
uint32_t renderFlag = RenderUpdateFlag::None;
uint32_t ctxFlag = ContextFlag::Invalid;
uint32_t id;
@@ -136,6 +137,7 @@ namespace tvg
if (!target && method == CompositeMethod::None) return true;
compData = static_cast<Composite*>(calloc(1, sizeof(Composite)));
}
+ target->pImpl->compSource = source;
compData->target = target;
compData->source = source;
compData->method = method;