devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=238208b829302f83b1b93feef9b650b6cee320b5

commit 238208b829302f83b1b93feef9b650b6cee320b5
Author: Chris Michael <[email protected]>
Date:   Wed Mar 5 14:11:36 2014 +0000

    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 <[email protected]>
---
 src/modules/evas/engines/drm/evas_outbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/drm/evas_outbuf.c 
b/src/modules/evas/engines/drm/evas_outbuf.c
index 2008f92..8cafcf2 100644
--- a/src/modules/evas/engines/drm/evas_outbuf.c
+++ b/src/modules/evas/engines/drm/evas_outbuf.c
@@ -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())

-- 


Reply via email to