forked from enlightenment/efl
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:
parent
7f28b3c263
commit
8937fd4fc9
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue