forked from enlightenment/efl
evas render - remove obj null check in proxy clip as obj not null
obj is never null. so this check is pointless. not a bug though. found by PVS studio
This commit is contained in:
parent
3c27869c93
commit
29eebb44fc
|
@ -1638,7 +1638,7 @@ _proxy_context_clip(Evas_Public_Data *evas, void *ctx, Evas_Proxy_Render_Data *p
|
||||||
return ((cw > 0) && (ch > 0));
|
return ((cw > 0) && (ch > 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!obj || !obj->cur->clipper) return EINA_TRUE;
|
if (!obj->cur->clipper) return EINA_TRUE;
|
||||||
|
|
||||||
clipper = obj->cur->clipper;
|
clipper = obj->cur->clipper;
|
||||||
if (!clipper->cur->visible) return EINA_FALSE;
|
if (!clipper->cur->visible) return EINA_FALSE;
|
||||||
|
|
Loading…
Reference in New Issue