Update RingOpenGL - Add Function (Source Code) : void gluDeleteTess(GLUtesselator* tess)
@@ -11218,6 +11218,20 @@ RING_FUNC(ring_gluDeleteQuadric)
gluDeleteQuadric((GLUquadric *) RING_API_GETCPOINTER(1,"GLUquadric"));
}
+
+RING_FUNC(ring_gluDeleteTess)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISPOINTER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ gluDeleteTess((GLUtesselator *) RING_API_GETCPOINTER(1,"GLUtesselator"));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -11773,4 +11787,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glucylinder",ring_gluCylinder);
ring_vm_funcregister("gludeletenurbsrenderer",ring_gluDeleteNurbsRenderer);
ring_vm_funcregister("gludeletequadric",ring_gluDeleteQuadric);
+ ring_vm_funcregister("gludeletetess",ring_gluDeleteTess);
}
