//void glTexEnviv (GLenum target, GLenum pname, const int *params) func TexEnviv(target GLenum, pname GLenum, params []int32) { if len(params) != 1 && len(params) != 4 { panic(ErrorInputSize) } C.glTexEnviv(C.GLenum(target), C.GLenum(pname), (*C.GLint)(¶ms[0])) }
//void glTexEnviv (GLenum target, GLenum pname, const int *params) func TexEnviv(target GLenum, pname GLenum, params []int32) { if len(params) != 1 && len(params) != 4 { panic("Invalid params slice length") } C.glTexEnviv(C.GLenum(target), C.GLenum(pname), (*C.GLint)(¶ms[0])) }