Update RingOpenGL - Add Function (Source Code) : void glTexGenfv(GLenum coord,GLenum pname,const GLfloat * params)
@@ -8660,6 +8660,28 @@ RING_FUNC(ring_glTexGeniv)
glTexGeniv( (GLenum ) (int) RING_API_GETNUMBER(1), (GLenum ) (int) RING_API_GETNUMBER(2),(GLint *) RING_API_GETCPOINTER(3,"GLint"));
}
+
+RING_FUNC(ring_glTexGenfv)
+{
+ if ( RING_API_PARACOUNT != 3 ) {
+ RING_API_ERROR(RING_API_MISS3PARA);
+ return ;
+ }
+ if ( ! RING_API_ISNUMBER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ if ( ! RING_API_ISNUMBER(2) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(3) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glTexGenfv( (GLenum ) (int) RING_API_GETNUMBER(1), (GLenum ) (int) RING_API_GETNUMBER(2),(GLfloat *) RING_API_GETCPOINTER(3,"GLfloat"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -9094,4 +9116,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("gltexgenf",ring_glTexGenf);
ring_vm_funcregister("gltexgend",ring_glTexGend);
ring_vm_funcregister("gltexgeniv",ring_glTexGeniv);
+ ring_vm_funcregister("gltexgenfv",ring_glTexGenfv);
}
