diff --git a/internal/builtinshader/shader.go b/internal/builtinshader/shader.go index a124ed2bd..938f9f317 100644 --- a/internal/builtinshader/shader.go +++ b/internal/builtinshader/shader.go @@ -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}}