Make the image dict more complete

This commit is contained in:
Kovid Goyal
2021-01-26 07:33:03 +05:30
parent 0adbbc6d62
commit 6631bb0eac
2 changed files with 15 additions and 6 deletions

View File

@@ -57,11 +57,11 @@ typedef struct {
ImageRef *refs;
Frame *extra_frames;
uint32_t loop_delay;
uint32_t loop_delay, current_frame_index;
size_t refcnt, refcap, extra_framecnt;
monotonic_t atime;
size_t used_storage;
bool is_opaque, is_4byte_aligned;
bool is_opaque, is_4byte_aligned, animation_enabled;
} Image;
typedef struct {