Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_MAX_EVAL_ORDER
@@ -1245,6 +1245,11 @@ RING_FUNC(ring_get_gl_depth_bias)
RING_API_RETNUMBER(GL_DEPTH_BIAS);
}
+RING_FUNC(ring_get_gl_max_eval_order)
+{
+ RING_API_RETNUMBER(GL_MAX_EVAL_ORDER);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1494,4 +1499,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_alpha_bias",ring_get_gl_alpha_bias);
ring_vm_funcregister("get_gl_depth_scale",ring_get_gl_depth_scale);
ring_vm_funcregister("get_gl_depth_bias",ring_get_gl_depth_bias);
+ ring_vm_funcregister("get_gl_max_eval_order",ring_get_gl_max_eval_order);
}
