Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_INDEX_ARRAY_TYPE
@@ -2560,6 +2560,11 @@ RING_FUNC(ring_get_gl_color_array_stride)
RING_API_RETNUMBER(GL_COLOR_ARRAY_STRIDE);
}
+RING_FUNC(ring_get_gl_index_array_type)
+{
+ RING_API_RETNUMBER(GL_INDEX_ARRAY_TYPE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -3072,4 +3077,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_color_array_size",ring_get_gl_color_array_size);
ring_vm_funcregister("get_gl_color_array_type",ring_get_gl_color_array_type);
ring_vm_funcregister("get_gl_color_array_stride",ring_get_gl_color_array_stride);
+ ring_vm_funcregister("get_gl_index_array_type",ring_get_gl_index_array_type);
}
