Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_LIGHT1
@@ -2220,6 +2220,11 @@ RING_FUNC(ring_get_gl_color_buffer_bit)
RING_API_RETNUMBER(GL_COLOR_BUFFER_BIT);
}
+RING_FUNC(ring_get_gl_light1)
+{
+ RING_API_RETNUMBER(GL_LIGHT1);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -2664,4 +2669,5 @@ RING_API void ringlib_init(RingState *pRingState)
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);
+ ring_vm_funcregister("get_gl_light1",ring_get_gl_light1);
}
