mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
graphicsdriver/opengl: Remove comments
This commit is contained in:
parent
2c31156a34
commit
66d12722ae
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user