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