evas/common - don't compare if twice. one is enough.

This commit is contained in:
ChunEon Park 2014-02-07 22:31:57 +09:00
parent 13664f3af1
commit fff4661095
1 changed files with 2 additions and 4 deletions

View File

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