Update RingOpenGL - Add Function (Source Code) : void glTexCoord2dv(const GLdouble * v)
@@ -8376,6 +8376,20 @@ RING_FUNC(ring_glTexCoord2fv)
glTexCoord2fv((GLfloat *) RING_API_GETCPOINTER(1,"GLfloat"));
}
+
+RING_FUNC(ring_glTexCoord2dv)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glTexCoord2dv((GLdouble *) RING_API_GETCPOINTER(1,"GLdouble"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -8794,4 +8808,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("gltexcoord2sv",ring_glTexCoord2sv);
ring_vm_funcregister("gltexcoord2iv",ring_glTexCoord2iv);
ring_vm_funcregister("gltexcoord2fv",ring_glTexCoord2fv);
+ ring_vm_funcregister("gltexcoord2dv",ring_glTexCoord2dv);
}
