mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
lottie: fixed data conversion complie warnings
This commit is contained in:
parent
20d2760bf4
commit
3b611e0da9
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ static void _updatePrecomp(LottieLayer* precomp, int32_t frameNo)
|
|||
//TODO: remove the intermediate scene....
|
||||
auto cscene = Scene::gen();
|
||||
auto clipper = Shape::gen();
|
||||
clipper->appendRect(0, 0, precomp->w, precomp->h);
|
||||
clipper->appendRect(0, 0, static_cast<float>(precomp->w), static_cast<float>(precomp->h));
|
||||
clipper->transform(precomp->cache.matrix);
|
||||
cscene->composite(std::move(clipper), CompositeMethod::ClipPath);
|
||||
cscene->push(cast<Scene>(precomp->scene));
|
||||
|
|
Loading…
Add table
Reference in a new issue