mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-25 15:30:38 +02:00
[test/xlib-expose-event] Save the output image to disk
This commit is contained in:
parent
f534bd549e
commit
e51648b601
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue