diff --git a/test/a1-mask.c b/test/a1-mask.c index 0be1d07b7..c52aa9dd9 100644 --- a/test/a1-mask.c +++ b/test/a1-mask.c @@ -125,6 +125,7 @@ draw (cairo_t *cr, int dst_width, int dst_height) dst += stride; } } + cairo_surface_mark_dirty (surface); /* Paint background blue */ cairo_set_source_rgb (cr, 0, 0, 1); /* blue */ diff --git a/test/large-source.c b/test/large-source.c index b02b493a5..2b6b84fb4 100644 --- a/test/large-source.c +++ b/test/large-source.c @@ -62,6 +62,7 @@ draw (cairo_t *cr, int width, int height) data[x] = RED_MASK; data += stride; } + cairo_surface_mark_dirty (surface); } cairo_set_source_rgb (cr, 1, 0, 0); /* red */ @@ -81,6 +82,7 @@ draw (cairo_t *cr, int width, int height) data[x] = GREEN_MASK; data += stride; } + cairo_surface_mark_dirty (surface); } cairo_set_source_rgb (cr, 0, 1, 0); /* green */ diff --git a/test/user-font-mask.c b/test/user-font-mask.c index 6fd40c875..a6d394e9f 100644 --- a/test/user-font-mask.c +++ b/test/user-font-mask.c @@ -126,6 +126,7 @@ test_scaled_font_render_glyph (cairo_scaled_font_t *scaled_font, *data = CAIRO_BITSWAP8_IF_LITTLE_ENDIAN (byte); data += cairo_image_surface_get_stride (image); } + cairo_surface_mark_dirty (image); pattern = cairo_pattern_create_for_surface (image); cairo_surface_destroy (image);