Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_VERTEX_ARRAY_SIZE
@@ -2520,6 +2520,11 @@ RING_FUNC(ring_get_gl_edge_flag_array)
RING_API_RETNUMBER(GL_EDGE_FLAG_ARRAY);
}
+RING_FUNC(ring_get_gl_vertex_array_size)
+{
+ RING_API_RETNUMBER(GL_VERTEX_ARRAY_SIZE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -3024,4 +3029,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_index_array",ring_get_gl_index_array);
ring_vm_funcregister("get_gl_texture_coord_array",ring_get_gl_texture_coord_array);
ring_vm_funcregister("get_gl_edge_flag_array",ring_get_gl_edge_flag_array);
+ ring_vm_funcregister("get_gl_vertex_array_size",ring_get_gl_vertex_array_size);
}
