//void glGetMapiv (GLenum target, GLenum query, int *v) func GetMapiv(target GLenum, query GLenum, v []int32) { if len(v) == 0 { panic("Invalid slice length") } C.glGetMapiv(C.GLenum(target), C.GLenum(query), (*C.GLint)(&v[0])) }
//void glGetMapiv (GLenum target, GLenum query, int *v) func GetMapiv(target GLenum, query GLenum, v []int32) { if len(v) == 0 { panic(ErrorInputSize) } C.glGetMapiv(C.GLenum(target), C.GLenum(query), (*C.GLint)(&v[0])) }