Merge pull request #295 from mitko0003/master

Minor fix to ATOC normalization.
This commit is contained in:
Ignacio 2019-02-15 08:31:45 -08:00 committed by GitHub
commit 662d223626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}