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