Update RingOpenGL - Add Function (Source Code) : void glColor4uiv(const GLuint * v)
@@ -1090,6 +1090,20 @@ RING_FUNC(ring_glColor4usv)
glColor4usv((GLushort *) RING_API_GETCPOINTER(1,"GLushort"));
}
+
+RING_FUNC(ring_glColor4uiv)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glColor4uiv((GLuint *) RING_API_GETCPOINTER(1,"GLuint"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -1152,4 +1166,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glcolor4dv",ring_glColor4dv);
ring_vm_funcregister("glcolor4ubv",ring_glColor4ubv);
ring_vm_funcregister("glcolor4usv",ring_glColor4usv);
+ ring_vm_funcregister("glcolor4uiv",ring_glColor4uiv);
}
