evas-drm: Fix setting cached image alpha flag

@bugfix: Set cached image alpha flag properly

This fixes issue where cached image alpha flag was not set properly.
Set it according to the outbuf's destination alpha flag.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-03-05 14:11:36 +00:00
parent 3692f0905c
commit 238208b829
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ evas_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, i
return NULL;
}
img->cache_entry.flags.alpha |= ob->destination_alpha ? 1 : 0;
img->cache_entry.flags.alpha = ob->destination_alpha;
#ifdef EVAS_CSERVE2
if (evas_cserve2_use_get())