Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_MAP1_GRID_SEGMENTS
@@ -1470,6 +1470,11 @@ RING_FUNC(ring_get_gl_map1_grid_domain)
RING_API_RETNUMBER(GL_MAP1_GRID_DOMAIN);
}
+RING_FUNC(ring_get_gl_map1_grid_segments)
+{
+ RING_API_RETNUMBER(GL_MAP1_GRID_SEGMENTS);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1764,4 +1769,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_map2_vertex_3",ring_get_gl_map2_vertex_3);
ring_vm_funcregister("get_gl_map2_vertex_4",ring_get_gl_map2_vertex_4);
ring_vm_funcregister("get_gl_map1_grid_domain",ring_get_gl_map1_grid_domain);
+ ring_vm_funcregister("get_gl_map1_grid_segments",ring_get_gl_map1_grid_segments);
}
