Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_COLOR_ARRAY_SIZE
@@ -2545,6 +2545,11 @@ RING_FUNC(ring_get_gl_normal_array_stride)
RING_API_RETNUMBER(GL_NORMAL_ARRAY_STRIDE);
}
+RING_FUNC(ring_get_gl_color_array_size)
+{
+ RING_API_RETNUMBER(GL_COLOR_ARRAY_SIZE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -3054,4 +3059,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_vertex_array_stride",ring_get_gl_vertex_array_stride);
ring_vm_funcregister("get_gl_normal_array_type",ring_get_gl_normal_array_type);
ring_vm_funcregister("get_gl_normal_array_stride",ring_get_gl_normal_array_stride);
+ ring_vm_funcregister("get_gl_color_array_size",ring_get_gl_color_array_size);
}
