graphicsdriver/opengl: Remove comments

This commit is contained in:
Hajime Hoshi 2020-12-06 03:24:08 +09:00
parent 2c31156a34
commit 66d12722ae

View File

@ -386,8 +386,6 @@ func (c *context) uniformFloats(p program, location string, v []float32, typ sha
base = typ.Sub[0].Main
}
//arr8 := jsutil.TemporaryUint8Array(len(v) * 4)
//arr := js.Global().Get("Float32Array").New(arr8.Get("buffer"), arr8.Get("byteOffset"), len(v))
arr := jsutil.TemporaryFloat32Array(len(v) * 4)
jsutil.CopySliceToJS(arr, v)