Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_MAP2_INDEX
@@ -1425,6 +1425,11 @@ RING_FUNC(ring_get_gl_map2_color_4)
RING_API_RETNUMBER(GL_MAP2_COLOR_4);
}
+RING_FUNC(ring_get_gl_map2_index)
+{
+ RING_API_RETNUMBER(GL_MAP2_INDEX);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1710,4 +1715,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_map1_vertex_3",ring_get_gl_map1_vertex_3);
ring_vm_funcregister("get_gl_map1_vertex_4",ring_get_gl_map1_vertex_4);
ring_vm_funcregister("get_gl_map2_color_4",ring_get_gl_map2_color_4);
+ ring_vm_funcregister("get_gl_map2_index",ring_get_gl_map2_index);
}
