Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_ORDER
@@ -465,6 +465,11 @@ RING_FUNC(ring_get_gl_coeff)
RING_API_RETNUMBER(GL_COEFF);
}
+RING_FUNC(ring_get_gl_order)
+{
+ RING_API_RETNUMBER(GL_ORDER);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -558,4 +563,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_cw",ring_get_gl_cw);
ring_vm_funcregister("get_gl_ccw",ring_get_gl_ccw);
ring_vm_funcregister("get_gl_coeff",ring_get_gl_coeff);
+ ring_vm_funcregister("get_gl_order",ring_get_gl_order);
}
