Be sure to set the Render_Engine's info to the new engine info.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-04-29 11:29:12 +01:00
parent 9272cc9de2
commit 66d258d17b
1 changed files with 2 additions and 0 deletions

View File

@ -268,6 +268,7 @@ eng_setup(Evas *eo_evas, void *einfo)
re->outbuf_idle_flush = evas_swapbuf_idle_flush;
}
re->info = info;
if ((re) && (re->ob)) re->ob->onebuf = ponebuf;
}
@ -338,6 +339,7 @@ eng_output_resize(void *data, int w, int h)
re->outbuf_reconfigure(re->ob, dx, dy, w, h,
info->info.rotation, info->info.depth,
info->info.destination_alpha);
evas_common_tilebuf_free(re->tb);
if ((re->tb = evas_common_tilebuf_new(w, h)))
evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE);