Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_MAP1_INDEX
@@ -1380,6 +1380,11 @@ RING_FUNC(ring_get_gl_map1_color_4)
RING_API_RETNUMBER(GL_MAP1_COLOR_4);
}
+RING_FUNC(ring_get_gl_map1_index)
+{
+ RING_API_RETNUMBER(GL_MAP1_INDEX);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1656,4 +1661,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_name_stack_depth",ring_get_gl_name_stack_depth);
ring_vm_funcregister("get_gl_auto_normal",ring_get_gl_auto_normal);
ring_vm_funcregister("get_gl_map1_color_4",ring_get_gl_map1_color_4);
+ ring_vm_funcregister("get_gl_map1_index",ring_get_gl_map1_index);
}
