Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TRIANGLE_FAN
@@ -105,6 +105,11 @@ RING_FUNC(ring_get_gl_triangle_strip)
RING_API_RETNUMBER(GL_TRIANGLE_STRIP);
}
+RING_FUNC(ring_get_gl_triangle_fan)
+{
+ RING_API_RETNUMBER(GL_TRIANGLE_FAN);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -126,4 +131,5 @@ RING_API void ringlib_init(RingState *pRingState)
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);
+ ring_vm_funcregister("get_gl_triangle_fan",ring_get_gl_triangle_fan);
}
