[cairo-commit] cairo/src cairo-atsui-font.c,1.20,1.21

Tim Rowley commit at pdx.freedesktop.org
Wed Sep 7 08:38:45 PDT 2005


Committed by: tor

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv6511/src

Modified Files:
	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.21
diff -u -d -r1.20 -r1.21
--- cairo-atsui-font.c	11 Aug 2005 13:35:21 -0000	1.20
+++ cairo-atsui-font.c	7 Sep 2005 15:38:43 -0000	1.21
@@ -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