Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TRIANGLE_STRIP
@@ -100,6 +100,11 @@ RING_FUNC(ring_get_gl_triangles)
RING_API_RETNUMBER(GL_TRIANGLES);
}
+RING_FUNC(ring_get_gl_triangle_strip)
+{
+ RING_API_RETNUMBER(GL_TRIANGLE_STRIP);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -120,4 +125,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_line_strip",ring_get_gl_line_strip);
ring_vm_funcregister("get_gl_line_bit",ring_get_gl_line_bit);
ring_vm_funcregister("get_gl_triangles",ring_get_gl_triangles);
+ ring_vm_funcregister("get_gl_triangle_strip",ring_get_gl_triangle_strip);
}
