Fixed off-by-one error in Voodoo when Y coordinates are reversed.
This commit is contained in:
parent
c83e9ed14e
commit
9970f030c5
1 changed files with 1 additions and 1 deletions
|
|
@ -1822,7 +1822,7 @@ static void voodoo_half_triangle(voodoo_t *voodoo, voodoo_params_t *params, vood
|
|||
x2 = (state->vertexBx << 12) + ((state->dxBC * (real_y - state->vertexBy)) >> 4);
|
||||
|
||||
if (params->fbzMode & (1 << 17))
|
||||
real_y = voodoo->v_disp - (real_y >> 4);
|
||||
real_y = (voodoo->v_disp-1) - (real_y >> 4);
|
||||
else
|
||||
real_y >>= 4;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue