[cairo-commit] cairo/src cairo-atsui-font.c,1.20,1.20.4.1
Tim Rowley
commit at pdx.freedesktop.org
Tue Sep 20 08:23:23 PDT 2005
Committed by: tor
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv8867/src
Modified Files:
Tag: BRANCH_1_0
cairo-atsui-font.c
Log Message:
* src/cairo-atsui-font.c (_cairo_atsui_font_show_glyphs):
Pass scratch space instead of NULL for image_extra to
acquire/release_dest_image.
Index: cairo-atsui-font.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-atsui-font.c,v
retrieving revision 1.20
retrieving revision 1.20.4.1
diff -u -d -r1.20 -r1.20.4.1
--- cairo-atsui-font.c 11 Aug 2005 13:35:21 -0000 1.20
+++ cairo-atsui-font.c 20 Sep 2005 15:23:20 -0000 1.20.4.1
@@ -461,13 +461,14 @@
CGColorSpaceRef colorSpace;
cairo_image_surface_t *destImageSurface;
int i;
+ void *extra = NULL;
cairo_rectangle_t rect = {dest_x, dest_y, width, height};
_cairo_surface_acquire_dest_image(generic_surface,
&rect,
&destImageSurface,
&rect,
- NULL);
+ &extra);
// Create a CGBitmapContext for the dest surface for drawing into
colorSpace = CGColorSpaceCreateDeviceRGB();
@@ -531,7 +532,7 @@
&rect,
destImageSurface,
&rect,
- NULL);
+ extra);
return CAIRO_STATUS_SUCCESS;
}
More information about the cairo-commit
mailing list