Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_SELECTION_BUFFER_SIZE
@@ -1515,6 +1515,11 @@ RING_FUNC(ring_get_gl_selection_buffer_pointer)
RING_API_RETNUMBER(GL_SELECTION_BUFFER_POINTER);
}
+RING_FUNC(ring_get_gl_selection_buffer_size)
+{
+ RING_API_RETNUMBER(GL_SELECTION_BUFFER_SIZE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1818,4 +1823,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_feedback_buffer_size",ring_get_gl_feedback_buffer_size);
ring_vm_funcregister("get_gl_feedback_buffer_type",ring_get_gl_feedback_buffer_type);
ring_vm_funcregister("get_gl_selection_buffer_pointer",ring_get_gl_selection_buffer_pointer);
+ ring_vm_funcregister("get_gl_selection_buffer_size",ring_get_gl_selection_buffer_size);
}
