Mercurial > MadButterfly
diff src/X_supp.c @ 450:a417fd980228
Replace cairo_format_t with mb_img_fmt_t.
- Replace all CAIRO_FORAMT_* with MB_IFMT_*
- wrap functions return or are argumented with image format.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 05 Aug 2009 15:54:44 +0800 |
parents | 16116d84bc5e |
children | 5c9e2a8a4bd8 |
line wrap: on
line diff
--- a/src/X_supp.c Tue Aug 04 23:47:34 2009 +0800 +++ b/src/X_supp.c Wed Aug 05 15:54:44 2009 +0800 @@ -441,7 +441,7 @@ &xmb_rt->visual, &xmb_rt->win); xmb_rt->surface = - mbe_image_surface_create(CAIRO_FORMAT_ARGB32, w, h); + mbe_image_surface_create(MB_IFMT_ARGB32, w, h); xmb_rt->backend_surface = mbe_xlib_surface_create(xmb_rt->display,