mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
fix antialiasing along Y-major edges
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user