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 <crawshaw@golang.org>
This commit is contained in:
Michael Matloob 2015-02-05 14:55:38 -08:00 committed by David Crawshaw
parent c67709898b
commit 4c31c789d7
1 changed files with 2 additions and 2 deletions

View File

@ -597,7 +597,7 @@ func GetProgramInfoLog(p Program) string {
return C.GoString((*C.char)(buf)) 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 // http://www.khronos.org/opengles/sdk/docs/man3/html/glGetRenderbufferParameteriv.xhtml
func GetRenderbufferParameteri(target, pname Enum) int { func GetRenderbufferParameteri(target, pname Enum) int {
@ -1186,7 +1186,7 @@ func VertexAttrib4fv(dst Attrib, src []float32) {
C.glVertexAttrib4fv(dst.c(), (*C.GLfloat)(&src[0])) 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 // Direct use of VertexAttribPointer to load data into OpenGL is not
// supported via the Go bindings. Instead, use BindBuffer with an // supported via the Go bindings. Instead, use BindBuffer with an