Update RingOpenGL - Add Function (Source Code) : void glVertexAttrib3sv(GLuint index,const GLshort *v)
@@ -10572,6 +10572,24 @@ RING_FUNC(ring_glVertexAttrib3fv)
glVertexAttrib3fv( (GLuint ) RING_API_GETNUMBER(1),(GLfloat *) RING_API_GETCPOINTER(2,"GLfloat"));
}
+
+RING_FUNC(ring_glVertexAttrib3sv)
+{
+ if ( RING_API_PARACOUNT != 2 ) {
+ RING_API_ERROR(RING_API_MISS2PARA);
+ return ;
+ }
+ if ( ! RING_API_ISNUMBER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(2) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glVertexAttrib3sv( (GLuint ) RING_API_GETNUMBER(1),(GLshort *) RING_API_GETCPOINTER(2,"GLshort"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -11091,4 +11109,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glvertexattrib2sv",ring_glVertexAttrib2sv);
ring_vm_funcregister("glvertexattrib2dv",ring_glVertexAttrib2dv);
ring_vm_funcregister("glvertexattrib3fv",ring_glVertexAttrib3fv);
+ ring_vm_funcregister("glvertexattrib3sv",ring_glVertexAttrib3sv);
}
