llvmpipe: Fix typo.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 8 Oct 2009 18:18:35 +0000 (19:18 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 8 Oct 2009 18:18:52 +0000 (19:18 +0100)
src/gallium/drivers/llvmpipe/lp_rast.c

index 9d1861d..170684c 100644 (file)
@@ -214,7 +214,7 @@ void lp_rast_end_tile( struct lp_rasterizer *rast,
    if(x + w > surface->width)
       w = surface->width - x;
    if(y + h > surface->height)
-      h = surface->height - x;
+      h = surface->height - y;
 
    transfer = screen->get_tex_transfer(screen,
                                        surface->texture,