Update RingOpenGL - Add Function (Source Code) : void glMultiTexCoord1f(GLenum target,GLfloat s)
@@ -5614,6 +5614,24 @@ RING_FUNC(ring_glMultiTexCoord1i)
glMultiTexCoord1i( (GLenum ) (int) RING_API_GETNUMBER(1), (GLint ) RING_API_GETNUMBER(2));
}
+
+RING_FUNC(ring_glMultiTexCoord1f)
+{
+ if ( RING_API_PARACOUNT != 2 ) {
+ RING_API_ERROR(RING_API_MISS2PARA);
+ 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 ;
+ }
+ glMultiTexCoord1f( (GLenum ) (int) RING_API_GETNUMBER(1), (GLfloat ) RING_API_GETNUMBER(2));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -5888,4 +5906,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glmultidrawelements",ring_glMultiDrawElements);
ring_vm_funcregister("glmultitexcoord1s",ring_glMultiTexCoord1s);
ring_vm_funcregister("glmultitexcoord1i",ring_glMultiTexCoord1i);
+ ring_vm_funcregister("glmultitexcoord1f",ring_glMultiTexCoord1f);
}
