From dc545043c1bc15476e932ef772a1e94dcc3a4464 Mon Sep 17 00:00:00 2001 From: Brandon Date: Sun, 7 Oct 2018 12:28:20 -0600 Subject: [PATCH] lowercased SetUniform arguments --- pixelgl/canvas.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pixelgl/canvas.go b/pixelgl/canvas.go index 05269f0..25da939 100644 --- a/pixelgl/canvas.go +++ b/pixelgl/canvas.go @@ -46,8 +46,8 @@ func NewCanvas(bounds pixel.Rect) *Canvas { // SetUniform will update the named uniform with the value of any supported underlying // attribute variable. If the uniform already exists, including defaults, they will be reassigned // to the new value. The value can be a pointer. -func (c *Canvas) SetUniform(Name string, Value interface{}) { - c.shader.setUniform(Name, Value) +func (c *Canvas) SetUniform(name string, value interface{}) { + c.shader.setUniform(name, value) } // SetFragmentShader allows you to set a new fragment shader on the underlying