Update RingOpenGL - Add Function (Source Code) : void glIndexiv(const GLint * c)
@@ -4556,6 +4556,20 @@ RING_FUNC(ring_glIndexsv)
glIndexsv((GLshort *) RING_API_GETCPOINTER(1,"GLshort"));
}
+
+RING_FUNC(ring_glIndexiv)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glIndexiv((GLint *) RING_API_GETCPOINTER(1,"GLint"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -4775,4 +4789,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glindexd",ring_glIndexd);
ring_vm_funcregister("glindexub",ring_glIndexub);
ring_vm_funcregister("glindexsv",ring_glIndexsv);
+ ring_vm_funcregister("glindexiv",ring_glIndexiv);
}
