mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 12:04:29 +00:00
lottie/builder: --compiler warning on MacOS
This commit is contained in:
parent
994c1b99a5
commit
cf826bee5d
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ static void _updateLayer(LottieLayer* root, LottieLayer* layer, int32_t frameNo)
|
||||||
auto clipper = Shape::gen();
|
auto clipper = Shape::gen();
|
||||||
clipper->appendRect(0, 0, layer->w, layer->h);
|
clipper->appendRect(0, 0, layer->w, layer->h);
|
||||||
clipper->transform(layer->cache.matrix);
|
clipper->transform(layer->cache.matrix);
|
||||||
cscene->composite(move(clipper), CompositeMethod::ClipPath);
|
cscene->composite(std::move(clipper), CompositeMethod::ClipPath);
|
||||||
cscene->push(cast<Scene>(layer->scene));
|
cscene->push(cast<Scene>(layer->scene));
|
||||||
layer->scene = cscene.release();
|
layer->scene = cscene.release();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue