Update RingOpenGL - Add Function (Source Code) : void glVertexAttrib4uiv(GLuint index,const GLuint *v)
@@ -10734,6 +10734,24 @@ RING_FUNC(ring_glVertexAttrib4usv)
glVertexAttrib4usv( (GLuint ) RING_API_GETNUMBER(1),(GLushort *) RING_API_GETCPOINTER(2,"GLushort"));
}
+
+RING_FUNC(ring_glVertexAttrib4uiv)
+{
+ 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 ;
+ }
+ glVertexAttrib4uiv( (GLuint ) RING_API_GETNUMBER(1),(GLuint *) RING_API_GETCPOINTER(2,"GLuint"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -11262,4 +11280,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glvertexattrib4bv",ring_glVertexAttrib4bv);
ring_vm_funcregister("glvertexattrib4ubv",ring_glVertexAttrib4ubv);
ring_vm_funcregister("glvertexattrib4usv",ring_glVertexAttrib4usv);
+ ring_vm_funcregister("glvertexattrib4uiv",ring_glVertexAttrib4uiv);
}
