Update RingOpenGL - Add Function (Source Code) : void glVertex4iv(const GLint * v)
@@ -10114,6 +10114,20 @@ RING_FUNC(ring_glVertex4sv)
glVertex4sv((GLshort *) RING_API_GETCPOINTER(1,"GLshort"));
}
+
+RING_FUNC(ring_glVertex4iv)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glVertex4iv((GLint *) RING_API_GETCPOINTER(1,"GLint"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -10610,4 +10624,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glvertex3fv",ring_glVertex3fv);
ring_vm_funcregister("glvertex3dv",ring_glVertex3dv);
ring_vm_funcregister("glvertex4sv",ring_glVertex4sv);
+ ring_vm_funcregister("glvertex4iv",ring_glVertex4iv);
}
