Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_STACK_UNDERFLOW
@@ -360,6 +360,11 @@ RING_FUNC(ring_get_gl_stack_overflow)
RING_API_RETNUMBER(GL_STACK_OVERFLOW);
}
+RING_FUNC(ring_get_gl_stack_underflow)
+{
+ RING_API_RETNUMBER(GL_STACK_UNDERFLOW);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -432,4 +437,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_invalid_value",ring_get_gl_invalid_value);
ring_vm_funcregister("get_gl_invalid_operation",ring_get_gl_invalid_operation);
ring_vm_funcregister("get_gl_stack_overflow",ring_get_gl_stack_overflow);
+ ring_vm_funcregister("get_gl_stack_underflow",ring_get_gl_stack_underflow);
}
