Skip to content

Commit

Permalink
graphicsdriver/opengl: Refactoring: Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Jun 3, 2019
1 parent dbd5e25 commit 9b82ec4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/graphicsdriver/opengl/context_js.go
Original file line number Diff line number Diff line change
@@ -357,10 +357,6 @@ func (c *context) uniformFloat(p program, location string, v float32) {
gl.Call("uniform1f", js.Value(l), v)
}

var (
float32Array = js.Global().Get("Float32Array")
)

func (c *context) uniformFloats(p program, location string, v []float32) {
c.ensureGL()
gl := c.gl

0 comments on commit 9b82ec4

Please # to comment.