Update RingOpenGL - Add Function (Source Code) : void glMultiTexCoord1d(GLenum target,GLdouble s)
@@ -5632,6 +5632,24 @@ RING_FUNC(ring_glMultiTexCoord1f)
glMultiTexCoord1f( (GLenum ) (int) RING_API_GETNUMBER(1), (GLfloat ) RING_API_GETNUMBER(2));
}
+
+RING_FUNC(ring_glMultiTexCoord1d)
+{
+ if ( RING_API_PARACOUNT != 2 ) {
+ RING_API_ERROR(RING_API_MISS2PARA);
+ 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 ;
+ }
+ glMultiTexCoord1d( (GLenum ) (int) RING_API_GETNUMBER(1), (GLdouble ) RING_API_GETNUMBER(2));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -5907,4 +5925,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glmultitexcoord1s",ring_glMultiTexCoord1s);
ring_vm_funcregister("glmultitexcoord1i",ring_glMultiTexCoord1i);
ring_vm_funcregister("glmultitexcoord1f",ring_glMultiTexCoord1f);
+ ring_vm_funcregister("glmultitexcoord1d",ring_glMultiTexCoord1d);
}
