Update RingFreeGLUT - use GC functions.
@@ -1880,7 +1880,7 @@ RING_FUNC(ring_glutStrokeWidthf)
}
-RING_FUNC(ring_glutBitmapLength)
+RING_FUNC(ring_glutStrokeLengthf)
{
if ( RING_API_PARACOUNT != 2 ) {
RING_API_ERROR(RING_API_MISS2PARA);
@@ -1894,11 +1894,11 @@ RING_FUNC(ring_glutBitmapLength)
RING_API_ERROR(RING_API_BADPARATYPE);
return ;
}
- RING_API_RETNUMBER(glutBitmapLength((void *) RING_API_GETCPOINTER(1,"void"),RING_API_GETSTRING(2)));
+ RING_API_RETNUMBER(glutStrokeLengthf((void *) RING_API_GETCPOINTER(1,"void"),RING_API_GETSTRING(2)));
}
-RING_FUNC(ring_glutStrokeLengthf)
+RING_FUNC(ring_glutBitmapLength)
{
if ( RING_API_PARACOUNT != 2 ) {
RING_API_ERROR(RING_API_MISS2PARA);
@@ -1912,7 +1912,7 @@ RING_FUNC(ring_glutStrokeLengthf)
RING_API_ERROR(RING_API_BADPARATYPE);
return ;
}
- RING_API_RETNUMBER(glutStrokeLengthf((void *) RING_API_GETCPOINTER(1,"void"),RING_API_GETSTRING(2)));
+ RING_API_RETNUMBER(glutBitmapLength((void *) RING_API_GETCPOINTER(1,"void"),RING_API_GETSTRING(2)));
}
@@ -2537,8 +2537,8 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glutstrokewidth",ring_glutStrokeWidth);
ring_vm_funcregister("glutstrokelength",ring_glutStrokeLength);
ring_vm_funcregister("glutstrokewidthf",ring_glutStrokeWidthf);
- ring_vm_funcregister("glutbitmaplength",ring_glutBitmapLength);
ring_vm_funcregister("glutstrokelengthf",ring_glutStrokeLengthf);
+ ring_vm_funcregister("glutbitmaplength",ring_glutBitmapLength);
ring_vm_funcregister("glutwirecube",ring_glutWireCube);
ring_vm_funcregister("glutsolidcube",ring_glutSolidCube);
ring_vm_funcregister("glutwiresphere",ring_glutWireSphere);
