Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_ACCUM
@@ -155,6 +155,11 @@ RING_FUNC(ring_get_gl_depth_buffer_bit)
RING_API_RETNUMBER(GL_DEPTH_BUFFER_BIT);
}
+RING_FUNC(ring_get_gl_accum)
+{
+ RING_API_RETNUMBER(GL_ACCUM);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -186,4 +191,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_lighting_bit",ring_get_gl_lighting_bit);
ring_vm_funcregister("get_gl_fog_bit",ring_get_gl_fog_bit);
ring_vm_funcregister("get_gl_depth_buffer_bit",ring_get_gl_depth_buffer_bit);
+ ring_vm_funcregister("get_gl_accum",ring_get_gl_accum);
}
