summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_scale_sample.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2008-12-02 02:32:22 +0000
committerCarsten Haitzler <raster@rasterman.com>2008-12-02 02:32:22 +0000
commit72c25fd2fc3f44205f85f77867c77358c7ab57db (patch)
tree06ae815f9e2126eb794b8c7252cc466c456c874d /legacy/evas/src/lib/engines/common/evas_scale_sample.c
parent1a897239c71ad8af78dbf80f058a4351e19aaae0 (diff)
quick - evas scalecache put this in svn do i dont lose my patch. i'll revert
and work on gettign the leak fixed. SVN revision: 37898
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 {