Minor fix to ATOC normalization.

This commit is contained in:
Димитър Трендафилов
2019-02-15 15:06:29 +02:00
committed by GitHub
parent 84595a62f2
commit d891d044e7

View File

@ -1417,7 +1417,7 @@ float FloatImage::alphaTestCoverage(float alphaRef, int alphaChannel, float alph
} }
} }
return coverage / float(w * h); return coverage / float((w - 1) * (h - 1));
#endif #endif
} }