Ensure destination_alpha is set in Outbuf when we (re)configure.
authorChris Michael <cp.michael@samsung.com>
Wed, 1 May 2013 08:11:22 +0000 (09:11 +0100)
committerChris Michael <cp.michael@samsung.com>
Wed, 1 May 2013 10:42:05 +0000 (11:42 +0100)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/evas/engines/drm/evas_outbuf.c

index 84a435e..06c8dbc 100644 (file)
@@ -16,6 +16,7 @@ evas_outbuf_setup(int w, int h, unsigned int rotation, unsigned int depth, Eina_
    ob->h = h;
    ob->rotation = rotation;
    ob->depth = depth;
+   ob->destination_alpha = alpha;
 
    /* return the allocated outbuf structure */
    return ob;
@@ -40,5 +41,5 @@ evas_outbuf_reconfigure(Outbuf *ob, int w, int h, unsigned int rotation, unsigne
    ob->h = h;
    ob->rotation = rotation;
    ob->depth = depth;
-   ob->alpha = alpha;
+   ob->destination_alpha = alpha;
 }