//void glGetTexEnvfv (GLenum target, GLenum pname, float *params) func GetTexEnvfv(target GLenum, pname GLenum, params []float32) { if len(params) == 0 { panic(ErrorInputSize) } C.glGetTexEnvfv(C.GLenum(target), C.GLenum(pname), (*C.GLfloat)(¶ms[0])) }
//void glGetTexEnvfv (GLenum target, GLenum pname, float *params) func GetTexEnvfv(target GLenum, pname GLenum, params []float32) { if len(params) == 0 { panic("Invalid params slice length") } C.glGetTexEnvfv(C.GLenum(target), C.GLenum(pname), (*C.GLfloat)(¶ms[0])) }