Update RingOpenGL 1.1 - Add Function (Source Code) : void glPushMatrix(void)
@@ -6692,6 +6692,16 @@ RING_FUNC(ring_glPushClientAttrib)
glPushClientAttrib( (GLbitfield ) (int) RING_API_GETNUMBER(1));
}
+
+RING_FUNC(ring_glPushMatrix)
+{
+ if ( RING_API_PARACOUNT != 0 ) {
+ RING_API_ERROR(RING_API_BADPARACOUNT);
+ return ;
+ }
+ glPushMatrix();
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -6904,6 +6914,7 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glprioritizetextures",ring_glPrioritizeTextures);
ring_vm_funcregister("glpushattrib",ring_glPushAttrib);
ring_vm_funcregister("glpushclientattrib",ring_glPushClientAttrib);
+ ring_vm_funcregister("glpushmatrix",ring_glPushMatrix);
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);
