mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
internal/graphicsdriver/opengl: Remove unreached return
This commit is contained in:
parent
98083ccd0a
commit
7b7791156c
@ -293,7 +293,6 @@ func (g *Graphics) useProgram(program program, uniforms []uniformVariable, textu
|
||||
// the value u would be allocated on heap.
|
||||
typ := u.typ
|
||||
return fmt.Errorf("opengl: length of a uniform variables %s (%s) doesn't match: expected %d but %d", u.name, typ.String(), expected, got)
|
||||
return nil
|
||||
}
|
||||
|
||||
cached, ok := g.state.lastUniforms[u.name]
|
||||
|
Loading…
Reference in New Issue
Block a user