Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_LOGIC_OP
@@ -20,8 +20,14 @@ RING_FUNC(ring_get_gl_false)
RING_API_RETNUMBER(GL_FALSE);
}
+RING_FUNC(ring_get_gl_logic_op)
+{
+ RING_API_RETNUMBER(GL_LOGIC_OP);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
ring_vm_funcregister("get_gl_false",ring_get_gl_false);
+ ring_vm_funcregister("get_gl_logic_op",ring_get_gl_logic_op);
}
