forked from enlightenment/efl
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:
parent
e1fdc232e1
commit
0e6b2ad6f7
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue