# HG changeset patch # User Thinker K.F. Li # Date 1282802093 -28800 # Node ID 82836f1290b6f2331948ae8e53900f01b251169f # Parent 86f2c0fbadfc490a16704962ff667fbbd82cab6d Remove cairo_* and use mbe_* diff -r 86f2c0fbadfc -r 82836f1290b6 src/X_supp.c --- a/src/X_supp.c Thu Aug 26 13:35:48 2010 +0800 +++ b/src/X_supp.c Thu Aug 26 13:54:53 2010 +0800 @@ -568,11 +568,11 @@ } xmb_rt->backend_surface = - cairo_image_surface_create_for_data(ximage->data, - surf_fmt, - xmb_rt->w, - xmb_rt->h, - ximage->bytes_per_line); + mbe_image_surface_create_for_data(ximage->data, + surf_fmt, + xmb_rt->w, + xmb_rt->h, + ximage->bytes_per_line); if(xmb_rt->backend_surface == NULL) xshm_destroy(xmb_rt); }