give better credit
This commit is contained in:
parent
04766585f1
commit
2ef067b60c
|
@ -369,6 +369,7 @@ private:
|
||||||
template<bool swapped>
|
template<bool swapped>
|
||||||
constexpr void EdgeParams_XMajor(s32* length, s32* coverage) const
|
constexpr void EdgeParams_XMajor(s32* length, s32* coverage) const
|
||||||
{
|
{
|
||||||
|
// credit to StrikerX3 for working out this weird rounding nonsense
|
||||||
// only do length calc for right side when swapped as it's
|
// only do length calc for right side when swapped as it's
|
||||||
// only needed for aa calcs, as actual line spans are broken
|
// only needed for aa calcs, as actual line spans are broken
|
||||||
if constexpr (!swapped || side)
|
if constexpr (!swapped || side)
|
||||||
|
|
Loading…
Reference in New Issue