jpeg pushed a commit to branch master.

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

commit 8937fd4fc9946600d8b93f8d07c2a13094d102d7
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Fri Oct 23 16:29:40 2015 +0900

    Evas render: Fix rendering of snapshot objects
    
    I added a quick check that the clip was not 0x0 but forgot
    to check that we actually use the clip info.
    
    Fixes T2792
---
 src/lib/evas/canvas/evas_object_image.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_image.c 
b/src/lib/evas/canvas/evas_object_image.c
index fdf31c7..e174353 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -3372,8 +3372,8 @@ _evas_image_render(Eo *eo_obj, Evas_Object_Protected_Data 
*obj,
         o->proxyrendering = EINA_FALSE;
      }
 
-   ENFN->context_clip_get(ENDT, context, NULL, NULL, &cw, &ch);
-   if (!cw || !ch) return;
+   if (ENFN->context_clip_get(ENDT, context, NULL, NULL, &cw, &ch) && (!cw || 
!ch))
+     return;
 
    if (pixels)
      {

-- 


Reply via email to