[cairo-commit] src/cairo-surface-offset.c

Benjamin Otte company at kemper.freedesktop.org
Sat Aug 28 08:16:05 PDT 2010


 src/cairo-surface-offset.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 92fe2d370d120f4d9bc95e92209d1c1cec7e900b
Author: Benjamin Otte <otte at redhat.com>
Date:   Sat Aug 28 17:12:45 2010 +0200

    surface-offset: Use right variable in mask
    
    Use source/mask instead of their copies. The copies only get initialized
    if we actually need to translate things.

diff --git a/src/cairo-surface-offset.c b/src/cairo-surface-offset.c
index 69c1ffa..fdbe1a1 100644
--- a/src/cairo-surface-offset.c
+++ b/src/cairo-surface-offset.c
@@ -135,7 +135,7 @@ _cairo_surface_offset_mask (cairo_surface_t		*target,
     }
 
     status = _cairo_surface_mask (target, op,
-				  &source_copy.base, &mask_copy.base,
+				  source, mask,
 				  dev_clip);
 
   FINISH:


More information about the cairo-commit mailing list