diff --git a/vertices.go b/vertices.go index 8635d1d82..87658bab4 100644 --- a/vertices.go +++ b/vertices.go @@ -90,7 +90,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) - const minHighpValue = 1.0/32768.0 + const minHighpValue = 1.0 / 32768.0 u0 += minHighpValue v0 += minHighpValue u1 -= minHighpValue