Evas masking: And another case of bad mask rendering

A masked object just can't be considered as opaque. As such,
it can't generate an obscure area. This fixes some super
rare rendering bug.
This commit is contained in:
Jean-Philippe Andre 2015-01-23 17:23:09 +09:00
parent 8b889f4892
commit 4c864f757a
1 changed files with 1 additions and 1 deletions

View File

@ -2155,7 +2155,7 @@ evas_render_updates_internal(Evas *eo_e,
if (UNLIKELY((evas_object_is_opaque(eo_obj, obj) ||
((obj->func->has_opaque_rect) &&
(obj->func->has_opaque_rect(eo_obj, obj, obj->private_data)))) &&
(!obj->mask->is_mask) &&
(!obj->mask->is_mask) && (!obj->clip.mask) &&
evas_object_is_visible(eo_obj, obj) &&
(!obj->clip.clipees) &&
(obj->cur->visible) &&