Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_LINE_BIT
@@ -90,6 +90,11 @@ RING_FUNC(ring_get_gl_line_strip)
RING_API_RETNUMBER(GL_LINE_STRIP);
}
+RING_FUNC(ring_get_gl_line_bit)
+{
+ RING_API_RETNUMBER(GL_LINE_BIT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -108,4 +113,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_point_bit",ring_get_gl_point_bit);
ring_vm_funcregister("get_gl_client_vertex_array_bit",ring_get_gl_client_vertex_array_bit);
ring_vm_funcregister("get_gl_line_strip",ring_get_gl_line_strip);
+ ring_vm_funcregister("get_gl_line_bit",ring_get_gl_line_bit);
}
