hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e3af5eb27f70edf531d5d8de3e3f2c940536d396

commit e3af5eb27f70edf531d5d8de3e3f2c940536d396
Author: Hermet Park <hermetp...@gmail.com>
Date:   Tue Feb 18 19:09:16 2020 +0900

    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
---
 src/lib/evas/canvas/evas_render.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,
                // 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);

-- 


Reply via email to