Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_FRONT_LEFT
@@ -275,6 +275,11 @@ RING_FUNC(ring_get_gl_stencil_buffer_bit)
RING_API_RETNUMBER(GL_STENCIL_BUFFER_BIT);
}
+RING_FUNC(ring_get_gl_front_left)
+{
+ RING_API_RETNUMBER(GL_FRONT_LEFT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -330,4 +335,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_one_minus_dst_color",ring_get_gl_one_minus_dst_color);
ring_vm_funcregister("get_gl_src_alpha_saturate",ring_get_gl_src_alpha_saturate);
ring_vm_funcregister("get_gl_stencil_buffer_bit",ring_get_gl_stencil_buffer_bit);
+ ring_vm_funcregister("get_gl_front_left",ring_get_gl_front_left);
}
