From: Jean-Philippe Andre Date: Thu, 25 Jul 2013 03:31:45 +0000 (+0900) Subject: evas/cserve2: Fix image load premultiplication X-Git-Tag: submit/devel/efl/20131029.075644~17^2~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c0bb73c775787ae1221efacc8d5d7a01a28320af;p=platform%2Fupstream%2Fefl.git evas/cserve2: Fix image load premultiplication There was a color problem in elementary_test since elm sets premul to 0 while expedite sets it to 1 during image load. --- diff --git a/src/bin/evas/evas_cserve2_slave.c b/src/bin/evas/evas_cserve2_slave.c index a5a407b..5f9bc32 100644 --- a/src/bin/evas/evas_cserve2_slave.c +++ b/src/bin/evas/evas_cserve2_slave.c @@ -459,7 +459,7 @@ image_load(const char *file, const char *key, const char *shmfile, result->w = property.w; result->h = property.h; - if (property.alpha) + if (property.alpha && property.premul) { result->alpha_sparse = evas_cserve2_image_premul_data((unsigned int *) map, result->w * result->h);