summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup_tri.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c
index 3cb7a28604..1725614902 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c
@@ -306,6 +306,11 @@ do_triangle_ccw(struct setup_context *setup,
if (miny == maxy || minx == maxx)
return;
+ tri->miny = miny;
+ tri->minx = minx;
+ tri->maxy = maxy;
+ tri->maxx = maxx;
+
/* The only divide in this code. Is it really needed?
*/
tri->oneoverarea = 1.0f / area;