Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_POLYGON_TOKEN
@@ -410,6 +410,11 @@ RING_FUNC(ring_get_gl_line_token)
RING_API_RETNUMBER(GL_LINE_TOKEN);
}
+RING_FUNC(ring_get_gl_polygon_token)
+{
+ RING_API_RETNUMBER(GL_POLYGON_TOKEN);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -492,4 +497,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_pass_through_token",ring_get_gl_pass_through_token);
ring_vm_funcregister("get_gl_point_token",ring_get_gl_point_token);
ring_vm_funcregister("get_gl_line_token",ring_get_gl_line_token);
+ ring_vm_funcregister("get_gl_polygon_token",ring_get_gl_polygon_token);
}
