llvmpipe: fix off-by-one in tri_16

This commit is contained in:
Keith Whitwell 2010-10-05 16:50:22 +01:00
parent 0ff132e5a6
commit ef3407672e
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ TRI_16(struct lp_rasterizer_task *task,
partial_mask &= ~(1 << i);
for (j = 0; j < NR_PLANES; j++) {
const int cx = (plane[j].c
const int cx = (plane[j].c - 1
- plane[j].dcdx * px
+ plane[j].dcdy * py) * 4;