Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_SCISSOR_BIT
@@ -2665,6 +2665,11 @@ RING_FUNC(ring_get_gl_texture_bit)
RING_API_RETNUMBER(GL_TEXTURE_BIT);
}
+RING_FUNC(ring_get_gl_scissor_bit)
+{
+ RING_API_RETNUMBER(GL_SCISSOR_BIT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -3198,4 +3203,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_eval_bit",ring_get_gl_eval_bit);
ring_vm_funcregister("get_gl_list_bit",ring_get_gl_list_bit);
ring_vm_funcregister("get_gl_texture_bit",ring_get_gl_texture_bit);
+ ring_vm_funcregister("get_gl_scissor_bit",ring_get_gl_scissor_bit);
}
