Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_COLOR_BUFFER_BIT
@@ -2215,6 +2215,11 @@ RING_FUNC(ring_get_gl_light0)
RING_API_RETNUMBER(GL_LIGHT0);
}
+RING_FUNC(ring_get_gl_color_buffer_bit)
+{
+ RING_API_RETNUMBER(GL_COLOR_BUFFER_BIT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2658,4 +2663,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_clip_plane4",ring_get_gl_clip_plane4);
ring_vm_funcregister("get_gl_clip_plane5",ring_get_gl_clip_plane5);
ring_vm_funcregister("get_gl_light0",ring_get_gl_light0);
+ ring_vm_funcregister("get_gl_color_buffer_bit",ring_get_gl_color_buffer_bit);
}
