diff options
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c index 9d1861d2464..170684c1b23 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.c +++ b/src/gallium/drivers/llvmpipe/lp_rast.c @@ -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, |