summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_scale_sample.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_scale_sample.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_scale_sample.c b/legacy/evas/src/lib/engines/common/evas_scale_sample.c
index 0d57717760..a1c3d6b022 100644
--- a/legacy/evas/src/lib/engines/common/evas_scale_sample.c
+++ b/legacy/evas/src/lib/engines/common/evas_scale_sample.c
@@ -271,9 +271,10 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
271 /* scale to dst */ 271 /* scale to dst */
272 dptr = dst_ptr; 272 dptr = dst_ptr;
273#ifdef DIRECT_SCALE 273#ifdef DIRECT_SCALE
274 if ((!src->cache_entry.flags.alpha) && 274 if ((dc->render_op == _EVAS_RENDER_COPY) ||
275 ((!src->cache_entry.flags.alpha) &&
275 (!dst->cache_entry.flags.alpha) && 276 (!dst->cache_entry.flags.alpha) &&
276 (!dc->mul.use)) 277 (!dc->mul.use)))
277 { 278 {
278 for (y = 0; y < dst_clip_h; y++) 279 for (y = 0; y < dst_clip_h; y++)
279 { 280 {