Update RingOpenGL - Add Function (Source Code) : void glMultiTexCoord2i(GLenum target,GLint s,GLint t)
@@ -5668,6 +5668,28 @@ RING_FUNC(ring_glMultiTexCoord2s)
free(RING_API_GETCPOINTER(3,"GLshort"));
}
+
+RING_FUNC(ring_glMultiTexCoord2i)
+{
+ 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_ISNUMBER(3) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glMultiTexCoord2i( (GLenum ) (int) RING_API_GETNUMBER(1), (GLint ) RING_API_GETNUMBER(2), (GLint ) RING_API_GETNUMBER(3));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -5945,4 +5967,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glmultitexcoord1f",ring_glMultiTexCoord1f);
ring_vm_funcregister("glmultitexcoord1d",ring_glMultiTexCoord1d);
ring_vm_funcregister("glmultitexcoord2s",ring_glMultiTexCoord2s);
+ ring_vm_funcregister("glmultitexcoord2i",ring_glMultiTexCoord2i);
}
