Update RingOpenGL - Add Function (Source Code) : void glTexCoord1d(GLdouble s)
@@ -8018,6 +8018,20 @@ RING_FUNC(ring_glTexCoord1f)
glTexCoord1f( (GLfloat ) RING_API_GETNUMBER(1));
}
+
+RING_FUNC(ring_glTexCoord1d)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISNUMBER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glTexCoord1d( (GLdouble ) RING_API_GETNUMBER(1));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -8416,4 +8430,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("gltexcoord1s",ring_glTexCoord1s);
ring_vm_funcregister("gltexcoord1i",ring_glTexCoord1i);
ring_vm_funcregister("gltexcoord1f",ring_glTexCoord1f);
+ ring_vm_funcregister("gltexcoord1d",ring_glTexCoord1d);
}
