Reset Render_Engine onebuf if it was set previously.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83286
This commit is contained in:
Christopher Michael 2013-01-24 09:21:27 +00:00 committed by Christopher Michael
parent e1fdc232e1
commit 0e6b2ad6f7
1 changed files with 6 additions and 0 deletions

View File

@ -238,6 +238,10 @@ eng_setup(Evas *eo_evas, void *einfo)
else
{
int ponebuf = 0;
if ((re) && (re->ob)) ponebuf = re->ob->onebuf;
/* we have an existing render engine */
if (re->ob) re->outbuf_free(re->ob);
@ -256,6 +260,8 @@ eng_setup(Evas *eo_evas, void *einfo)
re->outbuf_flush = evas_swapbuf_flush;
re->outbuf_idle_flush = evas_swapbuf_idle_flush;
}
if ((re) && (re->ob)) re->ob->onebuf = ponebuf;
}
/* reassign render engine to output */