Update RingOpenGL - Add Function (Source Code) : void glRectfv(const GLfloat * v1,const GLfloat * v2)
@@ -7240,6 +7240,24 @@ RING_FUNC(ring_glRectdv)
glRectdv((GLdouble *) RING_API_GETCPOINTER(1,"GLdouble"),(GLdouble *) RING_API_GETCPOINTER(2,"GLdouble"));
}
+
+RING_FUNC(ring_glRectfv)
+{
+ if ( RING_API_PARACOUNT != 2 ) {
+ RING_API_ERROR(RING_API_MISS2PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(2) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glRectfv((GLfloat *) RING_API_GETCPOINTER(1,"GLfloat"),(GLfloat *) RING_API_GETCPOINTER(2,"GLfloat"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -7597,4 +7615,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glrecti",ring_glRecti);
ring_vm_funcregister("glrects",ring_glRects);
ring_vm_funcregister("glrectdv",ring_glRectdv);
+ ring_vm_funcregister("glrectfv",ring_glRectfv);
}
