forked from enlightenment/efl
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:
parent
3692f0905c
commit
238208b829
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue