Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_EXP2
@@ -445,6 +445,11 @@ RING_FUNC(ring_get_gl_viewport_bit)
RING_API_RETNUMBER(GL_VIEWPORT_BIT);
}
+RING_FUNC(ring_get_gl_exp2)
+{
+ RING_API_RETNUMBER(GL_EXP2);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -534,4 +539,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_line_reset_token",ring_get_gl_line_reset_token);
ring_vm_funcregister("get_gl_exp",ring_get_gl_exp);
ring_vm_funcregister("get_gl_viewport_bit",ring_get_gl_viewport_bit);
+ ring_vm_funcregister("get_gl_exp2",ring_get_gl_exp2);
}
