Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_RIGHT
@@ -310,6 +310,11 @@ RING_FUNC(ring_get_gl_left)
RING_API_RETNUMBER(GL_LEFT);
}
+RING_FUNC(ring_get_gl_right)
+{
+ RING_API_RETNUMBER(GL_RIGHT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -372,4 +377,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_front",ring_get_gl_front);
ring_vm_funcregister("get_gl_back",ring_get_gl_back);
ring_vm_funcregister("get_gl_left",ring_get_gl_left);
+ ring_vm_funcregister("get_gl_right",ring_get_gl_right);
}
