Update RingOpenGL - Add Function (Source Code) : void glTexCoord1f(GLfloat s)
@@ -8004,6 +8004,20 @@ RING_FUNC(ring_glTexCoord1i)
glTexCoord1i( (GLint ) RING_API_GETNUMBER(1));
}
+
+RING_FUNC(ring_glTexCoord1f)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISNUMBER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glTexCoord1f( (GLfloat ) RING_API_GETNUMBER(1));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -8401,4 +8415,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glstencilopseparate",ring_glStencilOpSeparate);
ring_vm_funcregister("gltexcoord1s",ring_glTexCoord1s);
ring_vm_funcregister("gltexcoord1i",ring_glTexCoord1i);
+ ring_vm_funcregister("gltexcoord1f",ring_glTexCoord1f);
}
