[cairo-commit] test/xlib-expose-event.c

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu Oct 30 01:44:09 PDT 2008


 test/xlib-expose-event.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit e51648b601de274559800c63575c7f7e0288f596
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Oct 30 04:43:45 2008 -0400

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

diff --git a/test/xlib-expose-event.c b/test/xlib-expose-event.c
index 2d2a6c1..fd0bbcb 100644
--- a/test/xlib-expose-event.c
+++ b/test/xlib-expose-event.c
@@ -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);


More information about the cairo-commit mailing list