Update RingOpenGL 1.1 - Add Function (Source Code) : void glPopAttrib(void)
@@ -6602,6 +6602,16 @@ RING_FUNC(ring_glPolygonStipple)
glPolygonStipple((GLubyte *) RING_API_GETCPOINTER(1,"GLubyte"));
}
+
+RING_FUNC(ring_glPopAttrib)
+{
+ if ( RING_API_PARACOUNT != 0 ) {
+ RING_API_ERROR(RING_API_BADPARACOUNT);
+ return ;
+ }
+ glPopAttrib();
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -6807,6 +6817,7 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glpolygonmode",ring_glPolygonMode);
ring_vm_funcregister("glpolygonoffset",ring_glPolygonOffset);
ring_vm_funcregister("glpolygonstipple",ring_glPolygonStipple);
+ ring_vm_funcregister("glpopattrib",ring_glPopAttrib);
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
ring_vm_funcregister("get_gl_false",ring_get_gl_false);
ring_vm_funcregister("get_gl_logic_op",ring_get_gl_logic_op);
