mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
llvmpipe: Fix type in tri bounding box check.
This commit is contained in:
parent
b4924d62c7
commit
8c80413360
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue