summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast_tri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast_tri.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast_tri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast_tri.c b/src/gallium/drivers/llvmpipe/lp_rast_tri.c
index 40965d5f65..63e956fb20 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast_tri.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast_tri.c
@@ -203,8 +203,8 @@ void lp_rast_triangle( struct lp_rasterizer *rast,
*/
minx = MAX2(tri->maxx, rast->x);
miny = MAX2(tri->miny, rast->y);
- maxx = MIN2(tri->maxx, rast->x + TILESIZE);
- maxy = MIN2(tri->maxy, rast->y + TILESIZE);
+ maxx = MIN2(tri->maxx, rast->x + TILE_SIZE);
+ maxy = MIN2(tri->maxy, rast->y + TILE_SIZE);
if (miny == maxy ||
minx == maxx) {