Update RingOpenGL - Add Function (Source Code) : void glTexCoord3iv(const GLint * v)
@@ -8404,6 +8404,20 @@ RING_FUNC(ring_glTexCoord3sv)
glTexCoord3sv((GLshort *) RING_API_GETCPOINTER(1,"GLshort"));
}
+
+RING_FUNC(ring_glTexCoord3iv)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glTexCoord3iv((GLint *) RING_API_GETCPOINTER(1,"GLint"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -8824,4 +8838,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("gltexcoord2fv",ring_glTexCoord2fv);
ring_vm_funcregister("gltexcoord2dv",ring_glTexCoord2dv);
ring_vm_funcregister("gltexcoord3sv",ring_glTexCoord3sv);
+ ring_vm_funcregister("gltexcoord3iv",ring_glTexCoord3iv);
}
