[cairo-commit] src/cairo-image-compositor.c

Chris Wilson ickle at kemper.freedesktop.org
Thu Apr 26 00:56:10 PDT 2012


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

New commits:
commit 957a9cc619965178a8927d114fe852034fc2385c
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Apr 26 08:54:39 2012 +0100

    image: Fix typo in _blit_spans()
    
    The height is 'h' not 'y'!
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/cairo-image-compositor.c b/src/cairo-image-compositor.c
index 9c37585..f9ef031 100644
--- a/src/cairo-image-compositor.c
+++ b/src/cairo-image-compositor.c
@@ -1671,7 +1671,7 @@ _blit_spans (void *abstract_renderer, int y, int h,
     } else {
 	do {
 	    if (spans[0].coverage) {
-		int yy = y, hh = y;
+		int yy = y, hh = h;
 		do {
 		    void *src = r->u.blit.src_data + yy*r->u.blit.src_stride + spans[0].x*cpp;
 		    void *dst = r->u.blit.data + yy*r->u.blit.stride + spans[0].x*cpp;


More information about the cairo-commit mailing list