[GRASS-SVN] r44963 - grass/trunk/lib/cairodriver
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 11 13:31:08 EST 2011
Author: mmetz
Date: 2011-01-11 10:31:08 -0800 (Tue, 11 Jan 2011)
New Revision: 44963
Modified:
grass/trunk/lib/cairodriver/Draw_bitmap.c
Log:
fix for cairo 1.10
Modified: grass/trunk/lib/cairodriver/Draw_bitmap.c
===================================================================
--- grass/trunk/lib/cairodriver/Draw_bitmap.c 2011-01-11 18:30:03 UTC (rev 44962)
+++ grass/trunk/lib/cairodriver/Draw_bitmap.c 2011-01-11 18:31:08 UTC (rev 44963)
@@ -49,6 +49,7 @@
for (i = 0; i < nrows; i++)
memcpy(&data[i * stride], &buf[i * ncols], ncols);
+ cairo_surface_mark_dirty(surf);
cairo_mask_surface(cairo, surf, cur_x, cur_y);
cairo_surface_destroy(surf);
More information about the grass-commit
mailing list