Update RingOpenGL - Add Function (Source Code) : void glSecondaryColor3sv(const GLshort * v)
@@ -7626,6 +7626,20 @@ RING_FUNC(ring_glSecondaryColor3bv)
glSecondaryColor3bv((GLbyte *) RING_API_GETCPOINTER(1,"GLbyte"));
}
+
+RING_FUNC(ring_glSecondaryColor3sv)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glSecondaryColor3sv((GLshort *) RING_API_GETCPOINTER(1,"GLshort"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -8003,4 +8017,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glsecondarycolor3us",ring_glSecondaryColor3us);
ring_vm_funcregister("glsecondarycolor3ui",ring_glSecondaryColor3ui);
ring_vm_funcregister("glsecondarycolor3bv",ring_glSecondaryColor3bv);
+ ring_vm_funcregister("glsecondarycolor3sv",ring_glSecondaryColor3sv);
}
