Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_INDEX_CLEAR_VALUE
@@ -915,6 +915,11 @@ RING_FUNC(ring_get_gl_scissor_test)
RING_API_RETNUMBER(GL_SCISSOR_TEST);
}
+RING_FUNC(ring_get_gl_index_clear_value)
+{
+ RING_API_RETNUMBER(GL_INDEX_CLEAR_VALUE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1098,4 +1103,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_read_buffer",ring_get_gl_read_buffer);
ring_vm_funcregister("get_gl_scissor_box",ring_get_gl_scissor_box);
ring_vm_funcregister("get_gl_scissor_test",ring_get_gl_scissor_test);
+ ring_vm_funcregister("get_gl_index_clear_value",ring_get_gl_index_clear_value);
}
