mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
graphics: Fix comments
This commit is contained in:
parent
06853be1a5
commit
b385a63856
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user