Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_VERTEX_ARRAY_TYPE
@@ -2525,6 +2525,11 @@ RING_FUNC(ring_get_gl_vertex_array_size)
RING_API_RETNUMBER(GL_VERTEX_ARRAY_SIZE);
}
+RING_FUNC(ring_get_gl_vertex_array_type)
+{
+ RING_API_RETNUMBER(GL_VERTEX_ARRAY_TYPE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -3030,4 +3035,5 @@ RING_API void ringlib_init(RingState *pRingState)
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);
+ ring_vm_funcregister("get_gl_vertex_array_type",ring_get_gl_vertex_array_type);
}
