mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
parent
eea11ba6cb
commit
3bb21282af
@ -71,7 +71,7 @@ func Fragment(position vec4, texCoord vec2, color vec4) vec4 {
|
||||
p0 := texCoord - texelSize/2 + texelSize/512
|
||||
p1 := texCoord + texelSize/2 + texelSize/512
|
||||
|
||||
{{if eq .Address .AddressRpeat}}
|
||||
{{if eq .Address .AddressRepeat}}
|
||||
p0 = adjustTexelForAddressRepeat(p0)
|
||||
p1 = adjustTexelForAddressRepeat(p1)
|
||||
{{end}}
|
||||
|
Loading…
Reference in New Issue
Block a user