summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Song <henry.song@samsung.com>2012-10-11 16:57:57 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-10-11 16:57:57 +0100
commited720007ba6be17434eb68b604fd36bd91c0d894 (patch)
tree0c44df2ac64b134a528334662655ba589aeddd79
parent26c8accd41163d86711ba900bec7d9cd6591d8a3 (diff)
downloadcairo-ed720007ba6be17434eb68b604fd36bd91c0d894.tar.gz
recording: copy reverses its dst and src parameters
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55799
-rw-r--r--src/cairo-recording-surface.c2
1 files changed, 1 insertions, 1 deletions
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);