llvmpipe: fill in tri min/max values
authorKeith Whitwell <keithw@vmware.com>
Fri, 9 Oct 2009 15:59:24 +0000 (16:59 +0100)
committerKeith Whitwell <keithw@vmware.com>
Fri, 9 Oct 2009 15:59:24 +0000 (16:59 +0100)
src/gallium/drivers/llvmpipe/lp_setup_tri.c

index 3cb7a286049e98295aedca458e34b2220f79aa29..1725614902bab9948a04d3bda3f513c94c87895c 100644 (file)
@@ -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;