Ensure destination_alpha is set in Outbuf when we (re)configure.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-05-01 09:11:22 +01:00
parent c7192a56f4
commit 67c2a38144
1 changed files with 2 additions and 1 deletions

View 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;
}