Update RingOpenGL - Add Function (Source Code) : void glTexCoord3sv(const GLshort * v)
@@ -8390,6 +8390,20 @@ RING_FUNC(ring_glTexCoord2dv)
glTexCoord2dv((GLdouble *) RING_API_GETCPOINTER(1,"GLdouble"));
}
+
+RING_FUNC(ring_glTexCoord3sv)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glTexCoord3sv((GLshort *) RING_API_GETCPOINTER(1,"GLshort"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -8809,4 +8823,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("gltexcoord2iv",ring_glTexCoord2iv);
ring_vm_funcregister("gltexcoord2fv",ring_glTexCoord2fv);
ring_vm_funcregister("gltexcoord2dv",ring_glTexCoord2dv);
+ ring_vm_funcregister("gltexcoord3sv",ring_glTexCoord3sv);
}
