}
re->tb = evas_common_tilebuf_new(w, h);
evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE);
- eina_inarray_setup(&re->previous_rects, sizeof (Eina_Rectangle), 8);
+ eina_inarray_step_set(&re->previous_rects, sizeof (Eina_Inarray), sizeof (Eina_Rectangle), 8);
return re;
}
Eina_Rectangle local;
EINA_RECTANGLE_SET(&local, rect->x, rect->y, rect->w, rect->h);
- eina_inarray_append(&re->previous_rects, &local);
+ eina_inarray_push(&re->previous_rects, &local);
}
/* and regenerate the damage list by tacking into account the damage over two frames */