forked from enlightenment/efl
evas/common - don't compare if twice. one is enough.
This commit is contained in:
parent
13664f3af1
commit
fff4661095
|
@ -146,10 +146,8 @@ evas_common_gfx_func_composite_pixel_span_get(RGBA_Image *src, RGBA_Image *dst,
|
|||
|
||||
if (src && (!src->cache_entry.flags.alpha))
|
||||
{
|
||||
if (op == _EVAS_RENDER_BLEND)
|
||||
op = _EVAS_RENDER_COPY;
|
||||
if (op == _EVAS_RENDER_BLEND_REL)
|
||||
op = _EVAS_RENDER_COPY_REL;
|
||||
if (op == _EVAS_RENDER_BLEND) op = _EVAS_RENDER_COPY;
|
||||
else if (op == _EVAS_RENDER_BLEND_REL) op = _EVAS_RENDER_COPY_REL;
|
||||
}
|
||||
comp = evas_gfx_compositor_get(op);
|
||||
if (comp)
|
||||
|
|
Loading…
Reference in New Issue