Update RingOpenGL - Add Function (Source Code) : void glTexCoord4dv(const GLdouble * v)
@@ -8488,6 +8488,20 @@ RING_FUNC(ring_glTexCoord4fv)
glTexCoord4fv((GLfloat *) RING_API_GETCPOINTER(1,"GLfloat"));
}
+
+RING_FUNC(ring_glTexCoord4dv)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glTexCoord4dv((GLdouble *) RING_API_GETCPOINTER(1,"GLdouble"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -8914,4 +8928,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("gltexcoord4sv",ring_glTexCoord4sv);
ring_vm_funcregister("gltexcoord4iv",ring_glTexCoord4iv);
ring_vm_funcregister("gltexcoord4fv",ring_glTexCoord4fv);
+ ring_vm_funcregister("gltexcoord4dv",ring_glTexCoord4dv);
}
