Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_LEFT
@@ -305,6 +305,11 @@ RING_FUNC(ring_get_gl_back)
RING_API_RETNUMBER(GL_BACK);
}
+RING_FUNC(ring_get_gl_left)
+{
+ RING_API_RETNUMBER(GL_LEFT);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -366,4 +371,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_back_right",ring_get_gl_back_right);
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);
}
