diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-10-30 04:43:45 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-10-30 04:43:45 -0400 |
commit | e51648b601de274559800c63575c7f7e0288f596 (patch) | |
tree | 2cf19758f9237f51a95613000e34db4cb918b47d | |
parent | f534bd549e1e2283735d1eabb60c015a5949a735 (diff) |
[test/xlib-expose-event] Save the output image to disk
-rw-r--r-- | test/xlib-expose-event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/xlib-expose-event.c b/test/xlib-expose-event.c index 2d2a6c1b..fd0bbcb2 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); |