Update RingOpenGL - Add Function (Source Code) : void glMultiTexCoord1i(GLenum target,GLint s)
@@ -5596,6 +5596,24 @@ RING_FUNC(ring_glMultiTexCoord1s)
free(RING_API_GETCPOINTER(2,"GLshort"));
}
+
+RING_FUNC(ring_glMultiTexCoord1i)
+{
+ 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 ;
+ }
+ glMultiTexCoord1i( (GLenum ) (int) RING_API_GETNUMBER(1), (GLint ) RING_API_GETNUMBER(2));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -5869,4 +5887,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glmultidrawarrays",ring_glMultiDrawArrays);
ring_vm_funcregister("glmultidrawelements",ring_glMultiDrawElements);
ring_vm_funcregister("glmultitexcoord1s",ring_glMultiTexCoord1s);
+ ring_vm_funcregister("glmultitexcoord1i",ring_glMultiTexCoord1i);
}
