From: José Fonseca Date: Fri, 9 Oct 2009 16:14:11 +0000 (+0100) Subject: llvmpipe: Fix type in tri bounding box check. X-Git-Tag: 062012170305~14503^2~223 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c80413360855106734068066382be8c3a46a64f;p=profile%2Fivi%2Fmesa.git llvmpipe: Fix type in tri bounding box check. --- 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);