Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_ACCUM_GREEN_BITS
@@ -1350,6 +1350,11 @@ RING_FUNC(ring_get_gl_accum_red_bits)
RING_API_RETNUMBER(GL_ACCUM_RED_BITS);
}
+RING_FUNC(ring_get_gl_accum_green_bits)
+{
+ RING_API_RETNUMBER(GL_ACCUM_GREEN_BITS);
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
@@ -1620,4 +1625,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("get_gl_depth_bits",ring_get_gl_depth_bits);
ring_vm_funcregister("get_gl_stencil_bits",ring_get_gl_stencil_bits);
ring_vm_funcregister("get_gl_accum_red_bits",ring_get_gl_accum_red_bits);
+ ring_vm_funcregister("get_gl_accum_green_bits",ring_get_gl_accum_green_bits);
}
