Fix typo in coalesce function causing incorrect coalesce for more than one level of recursion

This commit is contained in:
Kovid Goyal 2021-02-04 16:50:13 +05:30
parent 450e1c2f95
commit a447ba7d76
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -974,7 +974,7 @@ get_coalesced_frame_data(GraphicsManager *self, Image *img, const Frame *f) {
.over_px_sz = f->is_opaque ? 3 : 4,
.under_px_sz = base_data.is_opaque ? 3 : 4,
.over_width = f->width, .over_height = f->height, .over_offset_x = f->x, .over_offset_y = f->y,
.under_width = base->width, .under_height = base->height,
.under_width = img->width, .under_height = img->height,
.needs_blending = f->alpha_blend && !f->is_opaque
};
compose(d, base_data.buf, frame_data);