mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-09 06:04:03 +00:00
tvg_loader: recover wrongly introduced change by my mistake.
This commit is contained in:
parent
c2b84dc500
commit
80090e1189
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ static LoaderResult _parseCmpTarget(const char *ptr, const char *end, Paint *pai
|
||||||
auto cmpBlock = _readBlock(ptr);
|
auto cmpBlock = _readBlock(ptr);
|
||||||
if (cmpBlock.end > end) return LoaderResult::SizeCorruption;
|
if (cmpBlock.end > end) return LoaderResult::SizeCorruption;
|
||||||
|
|
||||||
paint->composite(unique_ptr<Paint>(), cmpMethod);
|
paint->composite(unique_ptr<Paint>(_parsePaint(cmpBlock)), cmpMethod);
|
||||||
|
|
||||||
return LoaderResult::Success;
|
return LoaderResult::Success;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue