diff --git a/internal/graphicsdriver/opengl/context_js.go b/internal/graphicsdriver/opengl/context_js.go index c290d9915..97477f51a 100644 --- a/internal/graphicsdriver/opengl/context_js.go +++ b/internal/graphicsdriver/opengl/context_js.go @@ -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