tvg_loader: recover wrongly introduced change by my mistake.

This commit is contained in:
Hermet Park 2021-06-23 19:45:43 +09:00 committed by Hermet Park
parent c2b84dc500
commit 80090e1189

View file

@ -114,7 +114,7 @@ static LoaderResult _parseCmpTarget(const char *ptr, const char *end, Paint *pai
auto cmpBlock = _readBlock(ptr);
if (cmpBlock.end > end) return LoaderResult::SizeCorruption;
paint->composite(unique_ptr<Paint>(), cmpMethod);
paint->composite(unique_ptr<Paint>(_parsePaint(cmpBlock)), cmpMethod);
return LoaderResult::Success;
}