Module: Mesa Branch: lp-binning Commit: 8c80413360855106734068066382be8c3a46a64f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c80413360855106734068066382be8c3a46a64f
Author: José Fonseca <jfons...@vmware.com> Date: Fri Oct 9 17:14:11 2009 +0100 llvmpipe: Fix type in tri bounding box check. --- src/gallium/drivers/llvmpipe/lp_rast_tri.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_rast_tri.c b/src/gallium/drivers/llvmpipe/lp_rast_tri.c index 1041cd2..6b5bee4 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast_tri.c +++ b/src/gallium/drivers/llvmpipe/lp_rast_tri.c @@ -179,7 +179,7 @@ void lp_rast_triangle( struct lp_rasterizer *rast, /* Clamp to tile dimensions: */ - int minx = MAX2(tri->maxx, rast->x); + int minx = MAX2(tri->minx, rast->x); int miny = MAX2(tri->miny, rast->y); int maxx = MIN2(tri->maxx, rast->x + TILE_SIZE); int maxy = MIN2(tri->maxy, rast->y + TILE_SIZE); _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit