hermet pushed a commit to branch master.

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

commit 29844fd061adf4a2670f47b1f2a7aef2243c4048
Author: Hermet Park <hermetp...@gmail.com>
Date:   Thu Feb 20 21:20:09 2020 +0900

    canvas proxy: fix broken proxy source clipping function.
    
    The issue is proxy source clipping is not applied properly,
    Obviously that is a regression bug by the code refactoring.
    
    Found out this condition is insane, looks like a wrongly introduced.
    
    @fix
---
 src/lib/evas/canvas/evas_render.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/lib/evas/canvas/evas_render.c 
b/src/lib/evas/canvas/evas_render.c
index aba4103907..3d478a429b 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -2209,10 +2209,9 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object 
*eo_obj,
                                  if ((_evas_render_has_map(obj) && 
!_evas_render_can_map(obj)) ||
                                      
_evas_render_object_is_mask(obj->cur->clipper))
                                    evas_object_clip_recalc(obj);
-                                 if (!proxy_render_data)
-                                   _evas_render_mapped_context_clip_set(evas, 
eo_obj, obj, ctx,
-                                                                        
proxy_render_data,
-                                                                        off_x, 
off_y);
+                                 _evas_render_mapped_context_clip_set(evas, 
eo_obj, obj, ctx,
+                                                                      
proxy_render_data,
+                                                                      off_x, 
off_y);
                               }
                             else if (proxy_render_data)
                               {

-- 


Reply via email to