Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_LOGIC_OP_MODE
@@ -875,6 +875,11 @@ RING_FUNC(ring_get_gl_blend)
RING_API_RETNUMBER(GL_BLEND);
}
+RING_FUNC(ring_get_gl_logic_op_mode)
+{
+ RING_API_RETNUMBER(GL_LOGIC_OP_MODE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1050,4 +1055,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_blend_dst",ring_get_gl_blend_dst);
ring_vm_funcregister("get_gl_blend_src",ring_get_gl_blend_src);
ring_vm_funcregister("get_gl_blend",ring_get_gl_blend);
+ ring_vm_funcregister("get_gl_logic_op_mode",ring_get_gl_logic_op_mode);
}
