Update RingOpenGL - Add Function (Source Code) : void glIndexubv(const GLubyte * c)
@@ -4598,6 +4598,20 @@ RING_FUNC(ring_glIndexdv)
glIndexdv((GLdouble *) RING_API_GETCPOINTER(1,"GLdouble"));
}
+
+RING_FUNC(ring_glIndexubv)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glIndexubv((GLubyte *) RING_API_GETCPOINTER(1,"GLubyte"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -4820,4 +4834,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glindexiv",ring_glIndexiv);
ring_vm_funcregister("glindexfv",ring_glIndexfv);
ring_vm_funcregister("glindexdv",ring_glIndexdv);
+ ring_vm_funcregister("glindexubv",ring_glIndexubv);
}
