Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_BLEND_SRC
@@ -865,6 +865,11 @@ RING_FUNC(ring_get_gl_blend_dst)
RING_API_RETNUMBER(GL_BLEND_DST);
}
+RING_FUNC(ring_get_gl_blend_src)
+{
+ RING_API_RETNUMBER(GL_BLEND_SRC);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1038,4 +1043,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_alpha_test_ref",ring_get_gl_alpha_test_ref);
ring_vm_funcregister("get_gl_dither",ring_get_gl_dither);
ring_vm_funcregister("get_gl_blend_dst",ring_get_gl_blend_dst);
+ ring_vm_funcregister("get_gl_blend_src",ring_get_gl_blend_src);
}
