mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-04 02:15:47 +00:00
capi: remove unused internal variables.
Change-Id: I03a11a0c215bc489c282c22d52fb4f93665fca54
This commit is contained in:
@@ -8,12 +8,7 @@ extern "C" {
|
||||
struct Lottie_Animation_S
|
||||
{
|
||||
std::unique_ptr<Animation> mAnimation;
|
||||
size_t mCurFrame{0};
|
||||
std::future<Surface> mRenderTask;
|
||||
size_t mFrameNo{0};
|
||||
size_t mArraySize{0};
|
||||
size_t mWidth{0};
|
||||
size_t mHeight{0};
|
||||
};
|
||||
|
||||
LOT_EXPORT Lottie_Animation_S *lottie_animation_from_file(const char *path)
|
||||
@@ -77,9 +72,6 @@ LOT_EXPORT const LOTLayerNode * lottie_animation_render_tree(Lottie_Animation_S
|
||||
{
|
||||
if (!animation) return nullptr;
|
||||
|
||||
animation->mFrameNo = frame_num;
|
||||
animation->mWidth = width;
|
||||
animation->mHeight = height;
|
||||
return animation->mAnimation->renderTree(frame_num, width, height);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user