evas software generic engine - fix tb configuring to be consistent

this addresses CID 1224761 - consistent checks for tb in render engine
This commit is contained in:
Carsten Haitzler 2014-08-13 19:11:49 +09:00
parent f93fb3c7f6
commit a44f15ec8e
1 changed files with 4 additions and 2 deletions

View File

@ -2585,8 +2585,10 @@ eng_output_resize(void *data, int w, int h)
evas_common_tilebuf_free(re->tb);
re->tb = evas_common_tilebuf_new(w, h);
if (re->tb)
evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE);
evas_common_tilebuf_tile_strict_set(re->tb, re->tile_strict);
{
evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE);
evas_common_tilebuf_tile_strict_set(re->tb, re->tile_strict);
}
re->w = w;
re->h = h;
}