internal/builtinshader: bug fix: typo

Updates #2364
This commit is contained in:
Hajime Hoshi 2022-10-02 16:16:40 +09:00
parent eea11ba6cb
commit 3bb21282af

View File

@ -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}}