Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_NORMAL_ARRAY_POINTER
@@ -2595,6 +2595,11 @@ RING_FUNC(ring_get_gl_vertex_array_pointer)
RING_API_RETNUMBER(GL_VERTEX_ARRAY_POINTER);
}
+RING_FUNC(ring_get_gl_normal_array_pointer)
+{
+ RING_API_RETNUMBER(GL_NORMAL_ARRAY_POINTER);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -3114,4 +3119,5 @@ RING_API void ringlib_init(RingState *pRingState)
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);
+ ring_vm_funcregister("get_gl_normal_array_pointer",ring_get_gl_normal_array_pointer);
}
