Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_ALPHA
@@ -1840,6 +1840,11 @@ RING_FUNC(ring_get_gl_blue)
RING_API_RETNUMBER(GL_BLUE);
}
+RING_FUNC(ring_get_gl_alpha)
+{
+ RING_API_RETNUMBER(GL_ALPHA);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2208,4 +2213,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_red",ring_get_gl_red);
ring_vm_funcregister("get_gl_green",ring_get_gl_green);
ring_vm_funcregister("get_gl_blue",ring_get_gl_blue);
+ ring_vm_funcregister("get_gl_alpha",ring_get_gl_alpha);
}
