Update RingOpenGL - Add Function (Source Code) : void glSecondaryColor3ui(GLuint red,GLuint green,GLuint blue)
@@ -7590,6 +7590,28 @@ RING_FUNC(ring_glSecondaryColor3us)
free(RING_API_GETCPOINTER(3,"GLushort"));
}
+
+RING_FUNC(ring_glSecondaryColor3ui)
+{
+ if ( RING_API_PARACOUNT != 3 ) {
+ RING_API_ERROR(RING_API_MISS3PARA);
+ return ;
+ }
+ if ( ! RING_API_ISNUMBER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ if ( ! RING_API_ISNUMBER(2) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ if ( ! RING_API_ISNUMBER(3) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glSecondaryColor3ui( (GLuint ) RING_API_GETNUMBER(1), (GLuint ) RING_API_GETNUMBER(2), (GLuint ) RING_API_GETNUMBER(3));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -7965,4 +7987,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glsecondarycolor3d",ring_glSecondaryColor3d);
ring_vm_funcregister("glsecondarycolor3ub",ring_glSecondaryColor3ub);
ring_vm_funcregister("glsecondarycolor3us",ring_glSecondaryColor3us);
+ ring_vm_funcregister("glsecondarycolor3ui",ring_glSecondaryColor3ui);
}
