Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_ALPHA_TEST
@@ -840,6 +840,11 @@ RING_FUNC(ring_get_gl_client_attrib_stack_depth)
RING_API_RETNUMBER(GL_CLIENT_ATTRIB_STACK_DEPTH);
}
+RING_FUNC(ring_get_gl_alpha_test)
+{
+ RING_API_RETNUMBER(GL_ALPHA_TEST);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1008,4 +1013,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_texture_matrix",ring_get_gl_texture_matrix);
ring_vm_funcregister("get_gl_attrib_stack_depth",ring_get_gl_attrib_stack_depth);
ring_vm_funcregister("get_gl_client_attrib_stack_depth",ring_get_gl_client_attrib_stack_depth);
+ ring_vm_funcregister("get_gl_alpha_test",ring_get_gl_alpha_test);
}
