llvmpipe: fix off-by-one in tri_16
This commit is contained in:
parent
0ff132e5a6
commit
ef3407672e
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue