summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_scale_sample.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2008-06-03 09:09:39 +0000
committerCedric BAIL <cedric.bail@free.fr>2008-06-03 09:09:39 +0000
commitd102e3db82d3a74c0bbb94cb24162cf0dfeaf97e (patch)
tree8374433ef857f2a8627790d97997070eb9624a72 /legacy/evas/src/lib/engines/common/evas_scale_sample.c
parent6ec89fc019c593211cbeab5c4d500c79f7e14e8e (diff)
* Make RGBA_IMAGE_HAS_ALPHA and RGBA_IMAGE_ALPHA_SPARSE part of
Image_Entry flag structure. This fix a bug with 16 bpp software engine. * Change image loader module API to take any Image_Entry. Same goes for evas_common_image_premul and evas_common_image_set_alpha_sparse. * Use new eet API: eet_data_image_read_to_surface. SVN revision: 34728
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_scale_sample.c4
1 files changed, 2 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 23f8e50656..14ae103090 100644
--- a/legacy/evas/src/lib/engines/common/evas_scale_sample.c
+++ b/legacy/evas/src/lib/engines/common/evas_scale_sample.c
@@ -266,8 +266,8 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
266 /* scale to dst */ 266 /* scale to dst */
267 dptr = dst_ptr; 267 dptr = dst_ptr;
268#ifdef DIRECT_SCALE 268#ifdef DIRECT_SCALE
269 if ((!(src->flags & RGBA_IMAGE_HAS_ALPHA)) && 269 if ((!src->cache_entry.flags.alpha) &&
270 (!(dst->flags & RGBA_IMAGE_HAS_ALPHA)) && 270 (!dst->cache_entry.flags.alpha) &&
271 (!dc->mul.use)) 271 (!dc->mul.use))
272 { 272 {
273 for (y = 0; y < dst_clip_h; y++) 273 for (y = 0; y < dst_clip_h; y++)