Mercurial > MadButterfly
diff src/redraw_man.c @ 512:d186d1e24458 Android_Skia
Change prototype of mbe_copy_source().
- To make mbe_copy_source more portable, user of mbe_copy_source()
should specify source and destinate canvas for copying.
- Export a new function for Skia graphic engine, for Android JNI.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 01 Dec 2009 22:55:27 +0800 |
parents | 4291f16f3a09 |
children | 7a1b17ebb3b4 |
line wrap: on
line diff
--- a/src/redraw_man.c Tue Dec 01 22:55:27 2009 +0800 +++ b/src/redraw_man.c Tue Dec 01 22:55:27 2009 +0800 @@ -1917,7 +1917,7 @@ if(n_dirty_areas) make_clip(rdman->backend, n_dirty_areas, dirty_areas); - mbe_copy_source(rdman->backend); + mbe_copy_source(rdman->cr, rdman->backend); } #else /* UNITTEST */ static void make_clip(mbe_t *cr, int n_dirty_areas,