Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_NORMAL_ARRAY
@@ -2495,6 +2495,11 @@ RING_FUNC(ring_get_gl_vertex_array)
RING_API_RETNUMBER(GL_VERTEX_ARRAY);
}
+RING_FUNC(ring_get_gl_normal_array)
+{
+ RING_API_RETNUMBER(GL_NORMAL_ARRAY);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2994,4 +2999,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_texture_binding_1d",ring_get_gl_texture_binding_1d);
ring_vm_funcregister("get_gl_texture_binding_2d",ring_get_gl_texture_binding_2d);
ring_vm_funcregister("get_gl_vertex_array",ring_get_gl_vertex_array);
+ ring_vm_funcregister("get_gl_normal_array",ring_get_gl_normal_array);
}
