summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2020-02-18 19:09:16 +0900
committerHermet Park <hermetpark@gmail.com>2020-02-18 19:33:04 +0900
commite3af5eb27f70edf531d5d8de3e3f2c940536d396 (patch)
tree7d2a6bf2694cd4f0b3ec35c64dc2f453bdd209bf
parentae0994caa35b7907863150726870d675e39fc4da (diff)
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
-rw-r--r--src/lib/evas/canvas/evas_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c
index aba4103907..1cc0232692 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -2622,7 +2622,7 @@ evas_render_mask_subrender(Evas_Public_Data *evas,
2622 // Unreachable code until we implement support for smart masks 2622 // Unreachable code until we implement support for smart masks
2623 evas_render_mapped(evas, mask->object, mask, ctx, 2623 evas_render_mapped(evas, mask->object, mask, ctx,
2624 output, mdata->surface, 2624 output, mdata->surface,
2625 -x, -y, 2, 0, 0, evas->output.w, evas->output.h, 2625 -x, -y, 2, 0, 0, w, h,
2626 NULL, level, do_async); 2626 NULL, level, do_async);
2627 } 2627 }
2628 ENFN->context_free(ENC, ctx); 2628 ENFN->context_free(ENC, ctx);