We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b437b5a commit 90edf30Copy full SHA for 90edf30
internal/painter/gl/gl_gomobile.go
@@ -56,7 +56,7 @@ var (
56
compiled []ProgramState // avoid multiple compilations with the re-used mobile GUI context
57
noBuffer = Buffer{}
58
noShader = Shader{}
59
- textureFilterToGL = [...]int32{gl.Linear, gl.Nearest}
+ textureFilterToGL = [...]int32{gl.Linear, gl.Nearest, gl.Linear}
60
)
61
62
func (p *painter) glctx() gl.Context {
internal/painter/gl/gl_wasm.go
@@ -55,7 +55,7 @@ type (
55
var (
noBuffer = Buffer(gl.NoBuffer)
noShader = Shader(gl.NoShader)
- textureFilterToGL = [...]int32{gl.LINEAR, gl.NEAREST}
+ textureFilterToGL = [...]int32{gl.LINEAR, gl.NEAREST, gl.LINEAR}
func (p *painter) Init() {
0 commit comments