From 4c31c789d798fc203e60c6e15aee16f58a1e6412 Mon Sep 17 00:00:00 2001 From: Michael Matloob Date: Thu, 5 Feb 2015 14:55:38 -0800 Subject: [PATCH] gl: fix func name in doc comment for GetRenderbufferParameteri Also s/bufer/buffer/ in comment for VertexAttribPointer. Change-Id: Icb2ce35e4fed91939ebd00012e5caf88453fcbbf Reviewed-on: https://go-review.googlesource.com/3959 Reviewed-by: David Crawshaw --- gl/gl.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gl/gl.go b/gl/gl.go index 697825d..8d8136f 100644 --- a/gl/gl.go +++ b/gl/gl.go @@ -597,7 +597,7 @@ func GetProgramInfoLog(p Program) string { return C.GoString((*C.char)(buf)) } -// GetShaderi returns a parameter value for a render buffer. +// GetRenderbufferParameteri returns a parameter value for a render buffer. // // http://www.khronos.org/opengles/sdk/docs/man3/html/glGetRenderbufferParameteriv.xhtml func GetRenderbufferParameteri(target, pname Enum) int { @@ -1186,7 +1186,7 @@ func VertexAttrib4fv(dst Attrib, src []float32) { C.glVertexAttrib4fv(dst.c(), (*C.GLfloat)(&src[0])) } -// VertexAttribPointer uses a bound bufer to define vertex attribute data. +// VertexAttribPointer uses a bound buffer to define vertex attribute data. // // Direct use of VertexAttribPointer to load data into OpenGL is not // supported via the Go bindings. Instead, use BindBuffer with an