Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_MAX_CLIP_PLANES
@@ -1255,6 +1255,11 @@ RING_FUNC(ring_get_gl_max_lights)
RING_API_RETNUMBER(GL_MAX_LIGHTS);
}
+RING_FUNC(ring_get_gl_max_clip_planes)
+{
+ RING_API_RETNUMBER(GL_MAX_CLIP_PLANES);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1506,4 +1511,5 @@ RING_API void ringlib_init(RingState *pRingState)
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);
ring_vm_funcregister("get_gl_max_lights",ring_get_gl_max_lights);
+ ring_vm_funcregister("get_gl_max_clip_planes",ring_get_gl_max_clip_planes);
}
