diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-10-09 16:59:24 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-10-09 16:59:24 +0100 |
commit | b4924d62c7346da2e0de9ae4f9f23b3fb7fafee8 (patch) | |
tree | b6e88f2810394059715f43f45296003c48955377 | |
parent | 6464ec48366fee201c61a481c3205a64279797b2 (diff) |
llvmpipe: fill in tri min/max values
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup_tri.c | 5 |
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; |