Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_FEEDBACK_BUFFER_TYPE
@@ -1505,6 +1505,11 @@ RING_FUNC(ring_get_gl_feedback_buffer_size)
RING_API_RETNUMBER(GL_FEEDBACK_BUFFER_SIZE);
}
+RING_FUNC(ring_get_gl_feedback_buffer_type)
+{
+ RING_API_RETNUMBER(GL_FEEDBACK_BUFFER_TYPE);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1806,4 +1811,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_texture_2d",ring_get_gl_texture_2d);
ring_vm_funcregister("get_gl_feedback_buffer_pointer",ring_get_gl_feedback_buffer_pointer);
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);
}
