//void glLightiv (GLenum light, GLenum pname, const int *params) func Lightiv(light GLenum, pname GLenum, params []int32) { if len(params) == 0 { panic("Invalid params length") } C.glLightiv(C.GLenum(light), C.GLenum(pname), (*C.GLint)(¶ms[0])) }
//void glLightiv (GLenum light, GLenum pname, const int *params) func Lightiv(light GLenum, pname GLenum, params []int32) { if len(params) == 0 { panic(ErrorInputSize) } C.glLightiv(C.GLenum(light), C.GLenum(pname), (*C.GLint)(¶ms[0])) }