Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TEXTURE_STACK_DEPTH
@@ -810,6 +810,11 @@ RING_FUNC(ring_get_gl_projection_stack_depth)
RING_API_RETNUMBER(GL_PROJECTION_STACK_DEPTH);
}
+RING_FUNC(ring_get_gl_texture_stack_depth)
+{
+ RING_API_RETNUMBER(GL_TEXTURE_STACK_DEPTH);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -972,4 +977,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_viewport",ring_get_gl_viewport);
ring_vm_funcregister("get_gl_modelview_stack_depth",ring_get_gl_modelview_stack_depth);
ring_vm_funcregister("get_gl_projection_stack_depth",ring_get_gl_projection_stack_depth);
+ ring_vm_funcregister("get_gl_texture_stack_depth",ring_get_gl_texture_stack_depth);
}
