fix anti-aliasing
kinda lazily though, will improve when it's time to rework aa
This commit is contained in:
parent
5ca5c1a4a1
commit
c2abc1050c
|
@ -355,7 +355,11 @@ private:
|
|||
// for the first pixel, and the increment for
|
||||
// further pixels on the same scanline
|
||||
// TODO: check how coverage interacts with line gaps, I think it's correct though?
|
||||
s32 startx = dx >> 18;
|
||||
s32 startx = dx;
|
||||
if (side ^ Negative) startx += Increment;
|
||||
startx >>= 18;
|
||||
//s32 startcov = (startx * ylen) /9 xlen;
|
||||
|
||||
if (Negative) startx = xlen - startx;
|
||||
if (side) startx = startx - *length + 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue