llvmpipe: fill in tri min/max values

This commit is contained in:
Keith Whitwell
2009-10-09 16:59:24 +01:00
parent 6464ec4836
commit b4924d62c7
@@ -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;