Mercurial > MadButterfly
diff src/X_supp.c @ 594:d416e1fff71a openvg
Fix bug of mbe_copy_source() of cairo.
Must install pattern as source on target canvas instead of source
canvas.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 30 Jun 2010 23:15:42 +0800 |
parents | c9d23f7279a4 |
children | e4138c12fa8c |
line wrap: on
line diff
--- a/src/X_supp.c Wed Jun 30 22:57:23 2010 +0800 +++ b/src/X_supp.c Wed Jun 30 23:15:42 2010 +0800 @@ -484,6 +484,10 @@ xmb_rt->cr = mbe_create(xmb_rt->surface); xmb_rt->backend_cr = mbe_create(xmb_rt->backend_surface); + /* TODO: Remove this line. Since we use mbe_copy_source(), it + * will set source for the backend. So, this line is redundants. + * It can be removed. sourface_ptn can be removed, too. + */ mbe_set_source(xmb_rt->backend_cr, xmb_rt->surface_ptn); xmb_rt->rdman = (redraw_man_t *)malloc(sizeof(redraw_man_t));