summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-02-07 22:31:57 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-02-07 22:32:35 +0900
commitfff4661095b5d5c0700fc7e1c7fafe1cdce195f8 (patch)
tree38247ab506e79cb70f0853c808ef963c6df20023 /src
parent13664f3af1d12a516bb64cd5f4ad583547fe198d (diff)
evas/common - don't compare if twice. one is enough.
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/common/evas_blend_main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/evas/common/evas_blend_main.c b/src/lib/evas/common/evas_blend_main.c
index 6e08382286..558d59776a 100644
--- a/src/lib/evas/common/evas_blend_main.c
+++ b/src/lib/evas/common/evas_blend_main.c
@@ -146,10 +146,8 @@ evas_common_gfx_func_composite_pixel_span_get(RGBA_Image *src, RGBA_Image *dst,
146 146
147 if (src && (!src->cache_entry.flags.alpha)) 147 if (src && (!src->cache_entry.flags.alpha))
148 { 148 {
149 if (op == _EVAS_RENDER_BLEND) 149 if (op == _EVAS_RENDER_BLEND) op = _EVAS_RENDER_COPY;
150 op = _EVAS_RENDER_COPY; 150 else if (op == _EVAS_RENDER_BLEND_REL) op = _EVAS_RENDER_COPY_REL;
151 if (op == _EVAS_RENDER_BLEND_REL)
152 op = _EVAS_RENDER_COPY_REL;
153 } 151 }
154 comp = evas_gfx_compositor_get(op); 152 comp = evas_gfx_compositor_get(op);
155 if (comp) 153 if (comp)