mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
internal/ui: remove unnecessary comments
This commit is contained in:
parent
30088cf602
commit
c23af8fa3a
@ -44,7 +44,6 @@ func Fragment(position vec4, texCoord vec2, color vec4) vec4 {
|
||||
halfScaledTexelSize := texelSize / 2 / scale
|
||||
|
||||
// Shift 1/512 [texel] to avoid the tie-breaking issue.
|
||||
// As all the vertex positions are aligned to 1/16 [pixel], this shiting should work in most cases.
|
||||
pos := texCoord
|
||||
p0 := pos - halfScaledTexelSize + (texelSize / 512)
|
||||
p1 := pos + halfScaledTexelSize + (texelSize / 512)
|
||||
|
Loading…
Reference in New Issue
Block a user