fix antialiasing along Y-major edges
This commit is contained in:
parent
2e23ae54b2
commit
ee6daa0e62
|
@ -493,8 +493,7 @@ public:
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
*coverage = ((dx >> 13) + (Increment >> 14)) & 0x1F;
|
s32 cov = ((dx >> 9) + (Increment >> 10)) >> 4;
|
||||||
s32 cov = ((dx >> 7) + (Increment >> 8)) >> 4;
|
|
||||||
if ((cov >> 5) != (dx >> 18)) cov = 31;
|
if ((cov >> 5) != (dx >> 18)) cov = 31;
|
||||||
cov &= 0x1F;
|
cov &= 0x1F;
|
||||||
if (!(side ^ Negative)) cov = 0x1F - cov;
|
if (!(side ^ Negative)) cov = 0x1F - cov;
|
||||||
|
|
Loading…
Reference in New Issue