Update RingOpenGL - Add Function (Source Code) : void glTexCoord2iv(const GLint * v)
@@ -8348,6 +8348,20 @@ RING_FUNC(ring_glTexCoord2sv)
glTexCoord2sv((GLshort *) RING_API_GETCPOINTER(1,"GLshort"));
}
+
+RING_FUNC(ring_glTexCoord2iv)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glTexCoord2iv((GLint *) RING_API_GETCPOINTER(1,"GLint"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -8764,4 +8778,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("gltexcoord1fv",ring_glTexCoord1fv);
ring_vm_funcregister("gltexcoord1dv",ring_glTexCoord1dv);
ring_vm_funcregister("gltexcoord2sv",ring_glTexCoord2sv);
+ ring_vm_funcregister("gltexcoord2iv",ring_glTexCoord2iv);
}
