From ed720007ba6be17434eb68b604fd36bd91c0d894 Mon Sep 17 00:00:00 2001 From: Henry Song Date: Thu, 11 Oct 2012 16:57:57 +0100 Subject: recording: copy reverses its dst and src parameters Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55799 --- src/cairo-recording-surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cairo-recording-surface.c b/src/cairo-recording-surface.c index 73fc48ad0..e29727376 100644 --- a/src/cairo-recording-surface.c +++ b/src/cairo-recording-surface.c @@ -1441,7 +1441,7 @@ _cairo_recording_surface_snapshot (void *abstract_other) surface->optimize_clears = TRUE; _cairo_array_init (&surface->commands, sizeof (cairo_command_t *)); - status = _cairo_recording_surface_copy (other, surface); + status = _cairo_recording_surface_copy (surface, other); if (unlikely (status)) { cairo_surface_destroy (&surface->base); return _cairo_surface_create_in_error (status); -- cgit v1.2.1