Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_LINE_LOOP
@@ -70,6 +70,11 @@ RING_FUNC(ring_get_gl_lines)
RING_API_RETNUMBER(GL_LINES);
}
+RING_FUNC(ring_get_gl_line_loop)
+{
+ RING_API_RETNUMBER(GL_LINE_LOOP);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -84,4 +89,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_one",ring_get_gl_one);
ring_vm_funcregister("get_gl_client_pixel_store_bit",ring_get_gl_client_pixel_store_bit);
ring_vm_funcregister("get_gl_lines",ring_get_gl_lines);
+ ring_vm_funcregister("get_gl_line_loop",ring_get_gl_line_loop);
}
