Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_COLOR_ARRAY
@@ -2500,6 +2500,11 @@ RING_FUNC(ring_get_gl_normal_array)
RING_API_RETNUMBER(GL_NORMAL_ARRAY);
}
+RING_FUNC(ring_get_gl_color_array)
+{
+ RING_API_RETNUMBER(GL_COLOR_ARRAY);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -3000,4 +3005,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_texture_binding_2d",ring_get_gl_texture_binding_2d);
ring_vm_funcregister("get_gl_vertex_array",ring_get_gl_vertex_array);
ring_vm_funcregister("get_gl_normal_array",ring_get_gl_normal_array);
+ ring_vm_funcregister("get_gl_color_array",ring_get_gl_color_array);
}
