summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-07-25 12:31:45 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-10-28 15:47:13 +0900
commitc0bb73c775787ae1221efacc8d5d7a01a28320af (patch)
treec78a6d2de18947ab534077fb7f337333c072b0ca /src/bin
parentdb66f69104914814831b030c78d9e125d7fcf3cf (diff)
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.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/evas/evas_cserve2_slave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/evas/evas_cserve2_slave.c b/src/bin/evas/evas_cserve2_slave.c
index a5a407bd61..5f9bc3246c 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,
459 result->w = property.w; 459 result->w = property.w;
460 result->h = property.h; 460 result->h = property.h;
461 461
462 if (property.alpha) 462 if (property.alpha && property.premul)
463 { 463 {
464 result->alpha_sparse = evas_cserve2_image_premul_data((unsigned int *) map, 464 result->alpha_sparse = evas_cserve2_image_premul_data((unsigned int *) map,
465 result->w * result->h); 465 result->w * result->h);