canvas mask: fix incorrect render surface size.

This render context works on a mask surface,
Size should be mask's own, not canvas output size.

@fix
This commit is contained in:
Hermet Park 2020-02-18 19:09:16 +09:00
parent ae0994caa3
commit e3af5eb27f
1 changed files with 1 additions and 1 deletions

View File

@ -2622,7 +2622,7 @@ evas_render_mask_subrender(Evas_Public_Data *evas,
// Unreachable code until we implement support for smart masks
evas_render_mapped(evas, mask->object, mask, ctx,
output, mdata->surface,
-x, -y, 2, 0, 0, evas->output.w, evas->output.h,
-x, -y, 2, 0, 0, w, h,
NULL, level, do_async);
}
ENFN->context_free(ENC, ctx);