summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-02-09 21:16:06 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-02-10 11:41:09 +0900
commit6458b1782e70d3d088c2108bcfe420b84ed7ee10 (patch)
tree940dd0da1d488f710c170bb332f5f6220e876b1d
parentb5d48869bce517dd172119b9fc04b6f7fb334ecb (diff)
downloadefl-6458b1782e70d3d088c2108bcfe420b84ed7ee10.tar.gz
Evas masking: Fix some garbage pixels with the SW engine
A rare case of garbage data would happen if smooth scaling was called with a mask and 1:1 scaling. Use the proper render_op to COPY for the first pass. @fix
-rw-r--r--src/lib/evas/common/evas_scale_sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/common/evas_scale_sample.c b/src/lib/evas/common/evas_scale_sample.c
index 5536115dea..940ccbacfa 100644
--- a/src/lib/evas/common/evas_scale_sample.c
+++ b/src/lib/evas/common/evas_scale_sample.c
@@ -479,7 +479,7 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
{
func = evas_common_gfx_func_composite_pixel_mask_span_get(src->cache_entry.flags.alpha, src->cache_entry.flags.alpha_sparse, dst->cache_entry.flags.alpha, dst_clip_w, dc->render_op);
if (dc->mul.use)
- func2 = evas_common_gfx_func_composite_pixel_color_span_get(src->cache_entry.flags.alpha, src->cache_entry.flags.alpha_sparse, dc->mul.col, dst->cache_entry.flags.alpha, dst_clip_w, dc->render_op);
+ func2 = evas_common_gfx_func_composite_pixel_color_span_get(src->cache_entry.flags.alpha, src->cache_entry.flags.alpha_sparse, dc->mul.col, dst->cache_entry.flags.alpha, dst_clip_w, EVAS_RENDER_COPY);
}
if ((dst_region_w == src_region_w) && (dst_region_h == src_region_h))