Mercurial > MadButterfly
diff src/redraw_man.c @ 528:d687d3395264 Android_Skia
Clear variables and draw root coord.
Although root coord is never in zeroing list, now, it still need to be
redrawed after redrawing other zeroed coords.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 23 Dec 2009 10:33:51 +0800 |
parents | 47a860beaa44 |
children | cd41d9033567 |
line wrap: on
line diff
--- a/src/redraw_man.c Tue Dec 22 22:39:53 2009 +0800 +++ b/src/redraw_man.c Wed Dec 23 10:33:51 2009 +0800 @@ -2180,6 +2180,8 @@ coord = rdman->zeroing_coords.ds[i]; draw_dirty_cached_coord(rdman, coord); } + + draw_dirty_cached_coord(rdman, rdman->root_coord); } @@ -2241,6 +2243,7 @@ coord = rdman->zeroing_coords.ds[i]; DARRAY_CLEAN(_coord_get_dirty_areas(coord)); } + DARRAY_CLEAN(_coord_get_dirty_areas(rdman->root_coord)); rdman->n_dirty_areas = 0; }