Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_SRC_ALPHA_SATURATE
@@ -265,6 +265,11 @@ RING_FUNC(ring_get_gl_one_minus_dst_color)
RING_API_RETNUMBER(GL_ONE_MINUS_DST_COLOR);
}
+RING_FUNC(ring_get_gl_src_alpha_saturate)
+{
+ RING_API_RETNUMBER(GL_SRC_ALPHA_SATURATE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -318,4 +323,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_one_minus_dst_alpha",ring_get_gl_one_minus_dst_alpha);
ring_vm_funcregister("get_gl_dst_color",ring_get_gl_dst_color);
ring_vm_funcregister("get_gl_one_minus_dst_color",ring_get_gl_one_minus_dst_color);
+ ring_vm_funcregister("get_gl_src_alpha_saturate",ring_get_gl_src_alpha_saturate);
}
