Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_SCISSOR_BOX
@@ -905,6 +905,11 @@ RING_FUNC(ring_get_gl_read_buffer)
RING_API_RETNUMBER(GL_READ_BUFFER);
}
+RING_FUNC(ring_get_gl_scissor_box)
+{
+ RING_API_RETNUMBER(GL_SCISSOR_BOX);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1086,4 +1091,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_aux_buffers",ring_get_gl_aux_buffers);
ring_vm_funcregister("get_gl_draw_buffer",ring_get_gl_draw_buffer);
ring_vm_funcregister("get_gl_read_buffer",ring_get_gl_read_buffer);
+ ring_vm_funcregister("get_gl_scissor_box",ring_get_gl_scissor_box);
}
