Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_LEQUAL
@@ -200,6 +200,11 @@ RING_FUNC(ring_get_gl_equal)
RING_API_RETNUMBER(GL_EQUAL);
}
+RING_FUNC(ring_get_gl_lequal)
+{
+ RING_API_RETNUMBER(GL_LEQUAL);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -240,4 +245,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_accum_buffer_bit",ring_get_gl_accum_buffer_bit);
ring_vm_funcregister("get_gl_less",ring_get_gl_less);
ring_vm_funcregister("get_gl_equal",ring_get_gl_equal);
+ ring_vm_funcregister("get_gl_lequal",ring_get_gl_lequal);
}
