Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_FRONT_RIGHT
@@ -280,6 +280,11 @@ RING_FUNC(ring_get_gl_front_left)
RING_API_RETNUMBER(GL_FRONT_LEFT);
}
+RING_FUNC(ring_get_gl_front_right)
+{
+ RING_API_RETNUMBER(GL_FRONT_RIGHT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -336,4 +341,5 @@ RING_API void ringlib_init(RingState *pRingState)
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);
+ ring_vm_funcregister("get_gl_front_right",ring_get_gl_front_right);
}
