[test/xlib-expose-event] Save the output image to disk

This commit is contained in:
Behdad Esfahbod 2008-10-30 04:43:45 -04:00
parent f534bd549e
commit e51648b601

View file

@ -190,6 +190,7 @@ compare (const cairo_test_context_t *ctx, cairo_surface_t *surface)
cairo_set_source_surface (cr, surface, 0, 0);
cairo_paint (cr);
cairo_destroy (cr);
cairo_surface_write_to_png (image, "xlib-expose-event-out.png");
reference = cairo_test_create_surface_from_png (ctx, "xlib-expose-event-ref.png");
status = image_diff (ctx, reference, image, diff, &result);