loader lottie: fix a missing initialization.

this breaks 0 frame lottie rendering, now it's fixed.
This commit is contained in:
Hermet Park 2023-07-28 15:44:14 +09:00 committed by Hermet Park
parent 3e8126ead9
commit 023b38ad3c

View file

@ -401,8 +401,8 @@ struct LottieLayer : LottieGroup
//cached data //cached data
struct { struct {
int32_t frameNo = -1;
Matrix matrix; Matrix matrix;
int32_t frameNo;
uint8_t opacity; uint8_t opacity;
} cache; } cache;