Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_PASS_THROUGH_TOKEN
@@ -395,6 +395,11 @@ RING_FUNC(ring_get_gl_4d_color_texture)
RING_API_RETNUMBER(GL_4D_COLOR_TEXTURE);
}
+RING_FUNC(ring_get_gl_pass_through_token)
+{
+ RING_API_RETNUMBER(GL_PASS_THROUGH_TOKEN);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -474,4 +479,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_3d_color",ring_get_gl_3d_color);
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);
}
