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
This commit is contained in:
Jean-Philippe Andre 2015-10-23 16:29:40 +09:00
parent 7f28b3c263
commit 8937fd4fc9
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{