Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_MAP1_NORMAL
@@ -1385,6 +1385,11 @@ RING_FUNC(ring_get_gl_map1_index)
RING_API_RETNUMBER(GL_MAP1_INDEX);
}
+RING_FUNC(ring_get_gl_map1_normal)
+{
+ RING_API_RETNUMBER(GL_MAP1_NORMAL);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1662,4 +1667,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_auto_normal",ring_get_gl_auto_normal);
ring_vm_funcregister("get_gl_map1_color_4",ring_get_gl_map1_color_4);
ring_vm_funcregister("get_gl_map1_index",ring_get_gl_map1_index);
+ ring_vm_funcregister("get_gl_map1_normal",ring_get_gl_map1_normal);
}
