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.
This commit is contained in:
Jean-Philippe Andre 2013-07-25 12:31:45 +09:00
parent db66f69104
commit c0bb73c775
1 changed files with 1 additions and 1 deletions

View File

@ -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);