Ejemplo n.º 1
0
Archivo: gl.go Proyecto: james4k/gl
//void glIndexubv (const uint8 *c)
func Indexubv(c *[1]uint8) {
	C.glIndexubv((*C.GLubyte)(&c[0]))
}
Ejemplo n.º 2
0
Archivo: gl.go Proyecto: Nvveen/gl
//void glIndexubv (const uint8 *c)
func Indexubv(c []uint8) {
	if len(c) != 1 {
		panic(ErrorInputSize)
	}
	C.glIndexubv((*C.GLubyte)(&c[0]))
}