Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_CLIP_PLANE1
@@ -2185,6 +2185,11 @@ RING_FUNC(ring_get_gl_clip_plane0)
RING_API_RETNUMBER(GL_CLIP_PLANE0);
}
+RING_FUNC(ring_get_gl_clip_plane1)
+{
+ RING_API_RETNUMBER(GL_CLIP_PLANE1);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2622,4 +2627,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_t2f_c4f_n3f_v3f",ring_get_gl_t2f_c4f_n3f_v3f);
ring_vm_funcregister("get_gl_t4f_c4f_n3f_v4f",ring_get_gl_t4f_c4f_n3f_v4f);
ring_vm_funcregister("get_gl_clip_plane0",ring_get_gl_clip_plane0);
+ ring_vm_funcregister("get_gl_clip_plane1",ring_get_gl_clip_plane1);
}
