Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_VERTEX_ARRAY_POINTER
@@ -2590,6 +2590,11 @@ RING_FUNC(ring_get_gl_edge_flag_array_stride)
RING_API_RETNUMBER(GL_EDGE_FLAG_ARRAY_STRIDE);
}
+RING_FUNC(ring_get_gl_vertex_array_pointer)
+{
+ RING_API_RETNUMBER(GL_VERTEX_ARRAY_POINTER);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -3108,4 +3113,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_texture_coord_array_type",ring_get_gl_texture_coord_array_type);
ring_vm_funcregister("get_gl_texture_coord_array_stride",ring_get_gl_texture_coord_array_stride);
ring_vm_funcregister("get_gl_edge_flag_array_stride",ring_get_gl_edge_flag_array_stride);
+ ring_vm_funcregister("get_gl_vertex_array_pointer",ring_get_gl_vertex_array_pointer);
}
