graphics: Fix comments

This commit is contained in:
Hajime Hoshi 2018-02-03 02:44:01 +09:00
parent 06853be1a5
commit b385a63856

View File

@ -89,7 +89,7 @@ func vertices(sx0, sy0, sx1, sy1 int, width, height int, geo *affine.GeoM) []flo
// Adjust texels to be slightly inside the source rect. Without this
// adjustment, texels can be exactly as same values as the edges'
// positions and it could happen that nothing is rendered. (#491)
// positions and it could happen that outside of the source is rendered. (#491)
const minHighpValue = 1.0 / 32768.0
u0 += minHighpValue
v0 += minHighpValue