Exemple #1
0
Fichier : gl.go Projet : james4k/gl
//void glIndexubv (const uint8 *c)
func Indexubv(c *[1]uint8) {
	C.glIndexubv((*C.GLubyte)(&c[0]))
}
Exemple #2
0
Fichier : gl.go Projet : Nvveen/gl
//void glIndexubv (const uint8 *c)
func Indexubv(c []uint8) {
	if len(c) != 1 {
		panic(ErrorInputSize)
	}
	C.glIndexubv((*C.GLubyte)(&c[0]))
}