Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_ALPHA_TEST_FUNC
@@ -845,6 +845,11 @@ RING_FUNC(ring_get_gl_alpha_test)
RING_API_RETNUMBER(GL_ALPHA_TEST);
}
+RING_FUNC(ring_get_gl_alpha_test_func)
+{
+ RING_API_RETNUMBER(GL_ALPHA_TEST_FUNC);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1014,4 +1019,5 @@ RING_API void ringlib_init(RingState *pRingState)
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);
+ ring_vm_funcregister("get_gl_alpha_test_func",ring_get_gl_alpha_test_func);
}
