Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_POINT_TOKEN
@@ -400,6 +400,11 @@ RING_FUNC(ring_get_gl_pass_through_token)
RING_API_RETNUMBER(GL_PASS_THROUGH_TOKEN);
}
+RING_FUNC(ring_get_gl_point_token)
+{
+ RING_API_RETNUMBER(GL_POINT_TOKEN);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -480,4 +485,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_3d_color_texture",ring_get_gl_3d_color_texture);
ring_vm_funcregister("get_gl_4d_color_texture",ring_get_gl_4d_color_texture);
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);
}
